remove webroot
This commit is contained in:
committed by
Joakim Repomaa
parent
eb3682f19a
commit
71e65bf687
@@ -6,7 +6,7 @@ let
|
||||
http2 = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
acmeRoot = lib.mkIf cfg.acme.dnsChallenge null;
|
||||
} // options;
|
||||
|
||||
nginxProxy = options: {
|
||||
@@ -90,7 +90,6 @@ in
|
||||
defaults = {
|
||||
email = "admin@j.repomaa.com";
|
||||
dnsProvider = lib.mkIf cfg.acme.dnsChallenge cfg.acme.dnsProvider;
|
||||
webroot = lib.mkIf (!cfg.acme.dnsChallenge) "/var/lib/acme/";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user