clean up testing

This commit is contained in:
2026-07-28 10:25:05 -05:00
parent ff4759a368
commit 8d4fcda2ce
2 changed files with 3 additions and 1 deletions
@@ -80,8 +80,8 @@ in {
# add to caddy for reverse proxy # add to caddy for reverse proxy
services.caddy.virtualHosts."${cfg.url}" = { services.caddy.virtualHosts."${cfg.url}" = {
#tls internal
extraConfig = '' extraConfig = ''
tls internal
reverse_proxy 127.0.0.1:${toString cfg.port} 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. # Replace with the hash from the build error the first time you build.
}; };
email = "me@blakedheld.xyz"; email = "me@blakedheld.xyz";
globalConfig = '' globalConfig = ''
auto_https ignore_loaded_certs auto_https ignore_loaded_certs
acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN} acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN}
@@ -91,6 +92,7 @@ in {
UMask = lib.mkForce "0007"; UMask = lib.mkForce "0007";
# make cloudflare token readable # make cloudflare token readable
EnvironmentFile = sec."cloudflare/api_token_caddy".path; EnvironmentFile = sec."cloudflare/api_token_caddy".path;
#LoadCredential = "CLOUDFLARE_API_TOKEN:${sec."cloudflare/api_token_caddy".path}";
}; };
# open firewall # open firewall