Caddy with auto certificate management with Cloudflare module
6.0K
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:1ef726ca7…
Size
39.2 MB
Last updated
5 days ago
docker pull tomy0000000/caddy-cloudflare