summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-04 14:14:59 +0200
committerSoispha <soispha@vhack.eu>2023-07-04 14:14:59 +0200
commit80e57761ab13402cdbc6ffeaa46d55fd241891f6 (patch)
treed803574aa8a45725adcfdade9a0dbcbf5e889f1a
parentFix(system/services/nix-sync): Generate user and group if set to default (diff)
downloadnixos-server-80e57761ab13402cdbc6ffeaa46d55fd241891f6.tar.gz
nixos-server-80e57761ab13402cdbc6ffeaa46d55fd241891f6.zip
Fix(system/services): Inherit acmeRoot manually
-rw-r--r--system/services/keycloak/default.nix2
-rw-r--r--system/services/nginx/hosts.nixbin1098 -> 1111 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/system/services/keycloak/default.nix b/system/services/keycloak/default.nix
index 981833f..e698574 100644
--- a/system/services/keycloak/default.nix
+++ b/system/services/keycloak/default.nix
@@ -12,7 +12,7 @@
       "auth.vhack.eu" = {
         forceSSL = true;
         enableACME = true;
-        acmeRoot = null; # inherit from acme default setting
+        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/hosts.nix b/system/services/nginx/hosts.nix
index 7ceb51a..2398413 100644
--- a/system/services/nginx/hosts.nix
+++ b/system/services/nginx/hosts.nix
Binary files differ