diff --git a/machines/heimdall/caddy/default.nix b/machines/heimdall/caddy/default.nix index b00af09..70b4d8c 100644 --- a/machines/heimdall/caddy/default.nix +++ b/machines/heimdall/caddy/default.nix @@ -41,7 +41,10 @@ "boskma.frl" = { extraConfig = '' - error "Nothing to see here." 404 + respond 404 { + body "Nothing to see here." + close + } ''; }; }; diff --git a/modules/keycloak/default.nix b/modules/keycloak/default.nix index 03502ca..2f2bf20 100644 --- a/modules/keycloak/default.nix +++ b/modules/keycloak/default.nix @@ -40,9 +40,12 @@ in } route { - reverse_proxy @public_or_allowed_remote ${config.services.keycloak.settings.http-host}:${toString config.services.keycloak.settings.http-port} + reverse_proxy @public_or_allowed_remote ${config.services.keycloak.settings.http-host}:${toString config.services.keycloak.settings.http-port} - error "Nope." 403 + respond 403 { + body "Nope." + close + } } ''; };