Skip to content

Caddy Reverse Proxy with Cloudflare DNS [SOLVED] — by caddyvader on Caddy Community

intermediateforumLink only (©)

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

  1. Keep the dns cloudflare directive in the tls block
  2. Add alpn set to disable_tlsalpn_challenge
  3. Restart Caddy

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full thread on caddy.community

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

caddycloudflaretls-alpn

More in Reverse Proxies