fix(forgejo): add caddy error message
This commit is contained in:
parent
f5ca1dd665
commit
f09894d0dc
@ -89,6 +89,11 @@ in {
|
||||
})
|
||||
(mkIf cfg.proxy {
|
||||
services.caddy.virtualHosts."${forgejoDomain}".extraConfig = ''
|
||||
handle_errors {
|
||||
status 502
|
||||
respond "This server is currently unavailable."
|
||||
}
|
||||
|
||||
redir /user/login /user/oauth2/Keycloak?{query}
|
||||
|
||||
reverse_proxy http://${proxyIP}:${toString cfg.port}
|
||||
|
Loading…
x
Reference in New Issue
Block a user