Sign inSign up

m11s/caddy

By m11s

•Updated about 2 hours ago

Caddy with the Cloudflare DNS-01 provider module.

Image
0

594

m11s/caddy repository overview

⁠caddy-cloudflare

Caddy 2 with the caddy-dns/cloudflare⁠ DNS provider module built in, so Caddy can complete Let's Encrypt DNS-01 challenges against a Cloudflare-hosted zone itself. DNS-01 only needs a TXT record during issuance — it doesn't require the hostname being certified to resolve publicly — so this is what lets an internal-only hostname (e.g. app.internal.example.com) get a real Let's Encrypt cert with automatic renewal, no separate ACME client needed.

⁠Usage

app.internal.example.com {
    tls {
        dns cloudflare {env.CF_API_TOKEN}
    }
    reverse_proxy backend.internal.example.com:9000
}

CF_API_TOKEN needs Zone:Read and DNS:Edit scoped to the target zone.

⁠Versioning

Publish tags follow CADDY_BASE_IMAGE in the Dockerfile, replacing -alpine with -cloudflare. The compiled binary explicitly uses that Caddy release. The Cloudflare plugin is pinned separately and tracked by Renovate. Plugin and base digest updates republish the version alias and produce a new source commit tag.

Tag summary

Content type

Image

Digest

sha256:35f628c2c…

Size

41 MB

Last updated

about 2 hours ago

docker pull m11s/caddy:sha-b00362e8a18b-cloudflare