Replies: 1 comment
-
|
Hi Ray, Thank you for the question, and I apologize for the delay. In my experience, you do NOT need an email address. The only thing that Caddy needs to "talk" to Cloudflare is the API token. My example Caddyfile will work assuming you have test.edwardes.xyz {
# Set this path to your site's directory.
root * /usr/share/caddy
# Enable the static file server.
file_server
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
}Does this work for you? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi,i just read your blog :https://samedwardes.com/2023/11/19/homelab-tls-with-caddy-and-cloudflare/
what i confused is some other article said it needs a email (cloudflare email address):
https://emby.media/community/index.php?/topic/102088-emby-caddy-v2-setup-with-cloudflare/
https://github.com/SlothCroissant/caddy-cloudflaredns
so what is the difference? which one is the correct way to config it?
thanks
Ray
Beta Was this translation helpful? Give feedback.
All reactions