Caddy with auto certificate management with Cloudflare module
6.5K
Caddy with auto certificate management with Cloudflare module
Here's a minimal example of Caddyfile that automatically generates a certificate for subdomain.example.com:
subdomain.example.com {
...
tls {
dns cloudflare <api_token>
}
}
Obtain token from https://dash.cloudflare.com/profile/api-tokens. The token must have permission to edit Zone example.com.
Content type
Image
Digest
sha256:b984fa939…
Size
41 MB
Last updated
4 days ago
docker pull tomy0000000/caddy-cloudflare