remove webroot
This commit is contained in:
committed by
Joakim Repomaa
parent
eb3682f19a
commit
71e65bf687
@@ -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/";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user