mirror of
https://github.com/lucaslorentz/caddy-docker-proxy.git
synced 2025-12-12 18:21:18 +01: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-*