Skip to content

Using admin route :2019

Ivan Burkov edited this page Feb 12, 2025 · 1 revision

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-*
Clone this wiki locally