caddy: Use correct HTTP status code
This commit is contained in:
parent
d9879bd17b
commit
6b0da44e9c
3 changed files with 3 additions and 3 deletions
|
@ -151,7 +151,7 @@
|
|||
reverse_proxy 127.0.0.1:8080
|
||||
}
|
||||
handle {
|
||||
error "Nope." 401
|
||||
error "Nope." 403
|
||||
}
|
||||
|
||||
tls {
|
||||
|
|
|
@ -28,7 +28,7 @@ let
|
|||
reverse_proxy ${target}
|
||||
}
|
||||
handle {
|
||||
error "Nope." 401
|
||||
error "Nope." 403
|
||||
}
|
||||
|
||||
tls {
|
||||
|
|
|
@ -80,7 +80,7 @@ in
|
|||
route {
|
||||
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
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue