Add acmeRoot to nginx service.

This commit is contained in:
Kevin Baensch 2023-09-10 15:33:21 +02:00
parent 1c9cd2be49
commit 79b05baecf
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -25,6 +25,7 @@ mkIf (elem "nginx" config.machine.services) {
value = { value = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
acmeRoot = "/var/lib/acme/acme-challenge";
} // vHostConfigs."${vHost.service}"; }; } // vHostConfigs."${vHost.service}"; };
vHosts = listToAttrs (map mkVHost config.machine.vHosts); vHosts = listToAttrs (map mkVHost config.machine.vHosts);