remove webroot

This commit is contained in:
Joakim Repomaa
2025-02-07 18:44:53 +02:00
committed by Joakim Repomaa
parent eb3682f19a
commit 71e65bf687

View File

@@ -6,7 +6,7 @@ let
http2 = true; http2 = true;
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
acmeRoot = null; acmeRoot = lib.mkIf cfg.acme.dnsChallenge null;
} // options; } // options;
nginxProxy = options: { nginxProxy = options: {
@@ -90,7 +90,6 @@ in
defaults = { defaults = {
email = "admin@j.repomaa.com"; email = "admin@j.repomaa.com";
dnsProvider = lib.mkIf cfg.acme.dnsChallenge cfg.acme.dnsProvider; dnsProvider = lib.mkIf cfg.acme.dnsChallenge cfg.acme.dnsProvider;
webroot = lib.mkIf (!cfg.acme.dnsChallenge) "/var/lib/acme/";
}; };
}; };