tls {
dns cloudflare <api_token>
}
Replace <api_token> with your API token, or you can store it in an env variable and use {env.CLOUDFLARE_API_TOKEN} for example. tls {
dns cloudflare <api_token>
}
Replace <api_token> with your API token, or you can store it in an env variable and use {env.CLOUDFLARE_API_TOKEN} for example.Error during parsing: getting DNS provider module named 'cloudflare': module not registered: tls.dns.cloudflare
Using latest docker image.
Edit: You also need to plug it in.
xcaddy build --with github.com/caddy-dns/cloudflareEDIT: I have just seen your edit. Will try and report back.
Thanks for your time!
Also, see the docs on docker hub: https://hub.docker.com/_/caddy/
You'll need to build Caddy with the builder image to add the DNS plugin, see the section titled "Adding custom Caddy modules".