From fc60d2c39597b34ea5cd9272950a693a478ebe31 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Fri, 14 Mar 2025 09:59:50 -0400 Subject: [PATCH] fix(keycloak): update config for keycloak 26 --- machines/thinkcentre/configuration.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/machines/thinkcentre/configuration.nix b/machines/thinkcentre/configuration.nix index 443a6a4..8f3799a 100644 --- a/machines/thinkcentre/configuration.nix +++ b/machines/thinkcentre/configuration.nix @@ -77,14 +77,13 @@ age.secrets.keycloakDb.file = ../../secrets/keycloak-db.age; services.keycloak = { enable = true; - package = pkgs.unstable.keycloak; + package = pkgs.keycloak; settings = { - hostname-url = "https://auth.s.michaelt.xyz"; - hostname-admin-url = "https://auth.s.michaelt.xyz"; + hostname = "https://auth.s.michaelt.xyz"; + hostname-admin = "https://auth.s.michaelt.xyz"; hostname-strict = false; hostname-strict-https = false; - # proxy-headers = "xforwarded"; - proxy = "edge"; + proxy-headers = "xforwarded"; http-enabled = true; http-port = 7654; };