Merge pull request #427 from NebulousLabs/update-caddy

Update caddy
This commit is contained in:
Karol Wypchło 2020-09-28 11:01:31 +02:00 committed by GitHub
commit 87283c3389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -8,7 +8,9 @@
(siasky.net) {
siasky.net, *.siasky.net, *.hns.siasky.net {
tls {
dns route53
dns route53 {
max_retries 50
}
}
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