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
|
reverse_proxy 127.0.0.1:8080
|
||||||
}
|
}
|
||||||
handle {
|
handle {
|
||||||
error "Nope." 401
|
error "Nope." 403
|
||||||
}
|
}
|
||||||
|
|
||||||
tls {
|
tls {
|
||||||
|
|
|
@ -28,7 +28,7 @@ let
|
||||||
reverse_proxy ${target}
|
reverse_proxy ${target}
|
||||||
}
|
}
|
||||||
handle {
|
handle {
|
||||||
error "Nope." 401
|
error "Nope." 403
|
||||||
}
|
}
|
||||||
|
|
||||||
tls {
|
tls {
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue