From 79b05baecf87f7305f4a066b2d9b791d5003752a Mon Sep 17 00:00:00 2001 From: derped Date: Sun, 10 Sep 2023 15:33:21 +0200 Subject: [PATCH] Add acmeRoot to nginx service. --- services/nginx.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/services/nginx.nix b/services/nginx.nix index 76c504f..79e8767 100644 --- a/services/nginx.nix +++ b/services/nginx.nix @@ -25,6 +25,7 @@ mkIf (elem "nginx" config.machine.services) { value = { enableACME = true; forceSSL = true; + acmeRoot = "/var/lib/acme/acme-challenge"; } // vHostConfigs."${vHost.service}"; }; vHosts = listToAttrs (map mkVHost config.machine.vHosts);