add caddy config example

This commit is contained in:
Nils committed 2022-01-07 10:05:29 +01:00
1 parent ce95696ef0
commit a94503ba7a
4 files changed
+43

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
FROM caddy:builder AS builder
RUN xcaddy build \
--with github.com/mholt/caddy-ratelimit \
--with github.com/caddy-dns/cloudflare
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy