From 9f6635a0351c190179dc6904545f950108a23dd8 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sat, 13 Apr 2024 12:42:45 +0000 Subject: [PATCH] Drop default acmeRoot --- mail-server/nginx.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/mail-server/nginx.nix b/mail-server/nginx.nix index e5fa597..4f0cb1a 100644 --- a/mail-server/nginx.nix +++ b/mail-server/nginx.nix @@ -21,7 +21,6 @@ with (import ./common.nix { inherit config; }); let cfg = config.mailserver; - acmeRoot = "/var/lib/acme/acme-challenge"; in { config = lib.mkIf (cfg.enable && (cfg.certificateScheme == "acme" || cfg.certificateScheme == "acme-nginx")) { @@ -32,7 +31,6 @@ in serverAliases = cfg.certificateDomains; forceSSL = true; enableACME = true; - acmeRoot = acmeRoot; }; };