clean up testing
This commit is contained in:
@@ -80,8 +80,8 @@ in {
|
||||
|
||||
# add to caddy for reverse proxy
|
||||
services.caddy.virtualHosts."${cfg.url}" = {
|
||||
#tls internal
|
||||
extraConfig = ''
|
||||
tls internal
|
||||
reverse_proxy 127.0.0.1:${toString cfg.port}
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -62,6 +62,7 @@ in {
|
||||
# Replace with the hash from the build error the first time you build.
|
||||
};
|
||||
email = "me@blakedheld.xyz";
|
||||
|
||||
globalConfig = ''
|
||||
auto_https ignore_loaded_certs
|
||||
acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
@@ -91,6 +92,7 @@ in {
|
||||
UMask = lib.mkForce "0007";
|
||||
# make cloudflare token readable
|
||||
EnvironmentFile = sec."cloudflare/api_token_caddy".path;
|
||||
#LoadCredential = "CLOUDFLARE_API_TOKEN:${sec."cloudflare/api_token_caddy".path}";
|
||||
};
|
||||
|
||||
# open firewall
|
||||
|
||||
Reference in New Issue
Block a user