# Caddy x Cloudflare Setup Difficulty — retained record

> Retained reddit record from reddit:selfhosted.

Canonical: https://highsignal.app/data/records/49e5181c0fce1719

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:selfhosted)  published 2026-11-18 17:05 ingested 2026-11-19 02:37

[original source ↗](https://www.reddit.com/r/selfhosted/comments/1xzkj3f/caddy_x_cloudflare_setup_difficulty/)

## 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
