summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-04 16:33:46 +0200
committerSoispha <soispha@vhack.eu>2023-07-04 16:33:46 +0200
commit532412a5d3476df6e1cc59dd0995cd618c117fe7 (patch)
treecb94cdbe176964d80849eb06d2c2bb17ba43d8f7 /system
parentFeat(system/file_system_layout): Add impermanence (diff)
downloadnixos-server-532412a5d3476df6e1cc59dd0995cd618c117fe7.tar.gz
nixos-server-532412a5d3476df6e1cc59dd0995cd618c117fe7.zip
Fix(system/services): Move acmeWebRoot back to /var/lib/acme
Diffstat (limited to '')
-rw-r--r--system/services/keycloak/default.nix1
-rw-r--r--system/services/nginx/default.nix2
-rw-r--r--system/services/nginx/hosts.nixbin1111 -> 1027 bytes
3 files changed, 1 insertions, 2 deletions
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
--- a/system/services/nginx/hosts.nix
+++ b/system/services/nginx/hosts.nix
Binary files differ