Caddy Reverse Proxy with Cloudflare DNS [SOLVED] — by caddyvader on Caddy Community
Caddy's default TLS-ALPN challenge timed out behind Cloudflare's proxy because Cloudflare terminates TLS. Disabling the TLS-ALPN challenge in the tls block lets Caddy fall back to the HTTP challenge.
Quick steps
- Keep the dns cloudflare directive in the tls block
- Add alpn set to disable_tlsalpn_challenge
- Restart Caddy
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: Caddy Reverse Proxy with Cloudflare DNS [SOLVED] by caddyvader on Caddy Community. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me