caddy: Use correct HTTP status code

This commit is contained in:
Erwin Boskma 2024-03-14 10:06:53 +01:00
parent d9879bd17b
commit 6b0da44e9c
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg
3 changed files with 3 additions and 3 deletions

View file

@ -151,7 +151,7 @@
reverse_proxy 127.0.0.1:8080 reverse_proxy 127.0.0.1:8080
} }
handle { handle {
error "Nope." 401 error "Nope." 403
} }
tls { tls {

View file

@ -28,7 +28,7 @@ let
reverse_proxy ${target} reverse_proxy ${target}
} }
handle { handle {
error "Nope." 401 error "Nope." 403
} }
tls { tls {

View file

@ -80,7 +80,7 @@ in
route { 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." 401 error "Nope." 403
} }
''; '';
}; };