Add acmeRoot to nginx service.
This commit is contained in:
parent
1c9cd2be49
commit
79b05baecf
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue