bombai/Caddyfile
2025-12-17 19:49:48 +01:00

13 lines
326 B
Caddyfile

git.example.com {
@read method GET HEAD
reverse_proxy @read 127.0.0.1:42067 {
@fallback status 421
handle_response @fallback
@iocaine status 423
handle_response @iocaine {
reverse_proxy 127.0.0.1:42069 # iocaine needs to be configured to always serve its poison for this.
}
}
reverse_proxy localhost:42067
}