mirror of
https://github.com/lucaslorentz/caddy-docker-proxy.git
synced 2025-12-13 02:31:20 +01:00
1
Using admin route :2019
Ivan Burkov edited this page 2025-02-12 21:31:36 +05:00
Because of way that CDP works with caddy it requires API endpoint - even if Caddyfile declares admin global setting CDP just reverse it to original state.
As solution you can re-route API endpoint to other port with caddy itself:
labels:
- caddy=:2020
- caddy.reverse_proxy=localhost:2019
- caddy.reverse_proxy.0_header_up=-Host
- caddy.reverse_proxy.1_header_up=-X-*