update caddy

This commit is contained in:
Karol Wypchlo 2020-09-28 10:24:14 +02:00
parent 0a804e6638
commit f2c9c774d2
2 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,7 @@
siasky.net, *.siasky.net, *.hns.siasky.net { siasky.net, *.siasky.net, *.hns.siasky.net {
tls { tls {
dns route53 dns route53
ttl 2m
} }
reverse_proxy nginx:80 reverse_proxy nginx:80
} }

View File

@ -1,7 +1,8 @@
FROM caddy:2.1.1-builder AS caddy-builder FROM caddy:2.2.0-builder AS caddy-builder
RUN caddy-builder github.com/caddy-dns/cloudflare github.com/caddy-dns/route53 # available dns resolvers: https://github.com/caddy-dns
RUN xcaddy build --with github.com/caddy-dns/route53
FROM caddy:2.1.1 FROM caddy:2.2.0
COPY --from=caddy-builder /usr/bin/caddy /usr/bin/caddy COPY --from=caddy-builder /usr/bin/caddy /usr/bin/caddy