← sources

Caddy x Cloudflare Setup Difficulty

source: reddit (reddit:selfhosted)published 2026-11-18 17:05ingested 2026-11-19 02:37

retained text

Howdy, setting up Caddy for the first time to run a reverse proxy for my Immich service. I have established the DNS names in my cloudflare account, and created my cloudflare token. I am getting the error below while attempting to start Caddy.

`using adjacent Caddyfile`  
`Error: adapting config using caddyfile: parsing caddyfile tokens for 'tls': getting module named 'dns.providers.cloudflar`  
`e': module not registered: dns.providers.cloudflare, at Caddyfile:4`

Below is my Caddyfile

[`photos.mydomainhere.com`](http://photos.mydomainhere.com) `{`  
`reverse_proxy localhost:2283`  
`tls {`  
`dns cloudflare cloudflaretokenhere`  
`}`  
`}`

document fetched 2026-11-19 00:29 · canonical https://reddit.com/r/selfhosted/comments/1xzkj3f/caddy_x_cloudflare_setup_difficulty