Re:Nginx Introduces Native Support for Acme Protocol
by nadanke on Thursday August 14, 2025 @02:19AM
(#44897279)
For wildcards you need a Caddy build that includes the dns plugin for your specific provider. There's a tool called xcaddy that helps with that. It's still kinda annoying because now you need to manage the binary for yourself but when I tried it with Hetzner it worked fine.
[ Parent
| on HN ]
Re:Nginx Introduces Native Support for Acme Protocol
by snickerdoodle12 on Thursday August 14, 2025 @11:32AM
(#44901646)
In case it helps someone else, this is what I do:
FROM caddy:2-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/greenpau/caddy-security
FROM caddy:2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
COPY Caddyfile /etc/caddy/Caddyfile
Then just build & run it via docker compose