From 532412a5d3476df6e1cc59dd0995cd618c117fe7 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 4 Jul 2023 16:33:46 +0200 Subject: Fix(system/services): Move acmeWebRoot back to /var/lib/acme --- system/services/keycloak/default.nix | 1 - system/services/nginx/default.nix | 2 +- system/services/nginx/hosts.nix | Bin 1111 -> 1027 bytes 3 files changed, 1 insertion(+), 2 deletions(-) (limited to 'system') diff --git a/system/services/keycloak/default.nix b/system/services/keycloak/default.nix index e698574..dfeabc3 100644 --- a/system/services/keycloak/default.nix +++ b/system/services/keycloak/default.nix @@ -12,7 +12,6 @@ "auth.vhack.eu" = { forceSSL = true; enableACME = true; - acmeRoot = "${config.security.acme.defaults.webroot}/acme-challenge"; locations = { "/" = { proxyPass = "http://localhost:${toString config.services.keycloak.settings.http-port}/"; diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index 94d16c2..b0c176a 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -6,7 +6,7 @@ acceptTerms = true; defaults = { email = "admin@vhack.eu"; - webroot = "/srv/acme"; + webroot = "/var/lib/acme"; }; }; diff --git a/system/services/nginx/hosts.nix b/system/services/nginx/hosts.nix index 2398413..94fae9f 100644 Binary files a/system/services/nginx/hosts.nix and b/system/services/nginx/hosts.nix differ -- cgit 1.4.1