Lurker News

Comments (240) 58 threads

Show all comments

Showing thread 35 of 58

nklmilojevic1 reply#
Hi @mholt, thanks a lot for Caddy. It is really awesome and we are considering using it for www.mailerlite.com landing pages. The problem that we have right now is that there is no Cloudflare plugin built-in for V2 so it is a show stopper for us.

Congrats on the release!

jlelse1 reply#
How to use this plugin with a Caddyfile?
mholt2 replies#

    tls {
        dns cloudflare
    }
Replace with your API token, or you can store it in an env variable and use {env.CLOUDFLARE_API_TOKEN} for example.
jlelse#
Thanks!
nklmilojevic1 reply#
That's what I already tried and got:

Error during parsing: getting DNS provider module named 'cloudflare': module not registered: tls.dns.cloudflare
Using latest docker image.

mholt3 replies#
"Latest", as in "1 hour ago" latest, or "15 minutes ago" latest? Because the 2.0 image (not RCs) is needed and I think it only got published a few minutes ago.

Edit: You also need to plug it in.

    xcaddy build --with github.com/caddy-dns/cloudflare

Continue this thread — 3 replies