From f2c9c774d2856b1f1984d83197f1cd9206c761e6 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 28 Sep 2020 10:24:14 +0200 Subject: [PATCH] update caddy --- docker/caddy/Caddyfile | 1 + docker/caddy/Dockerfile | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/caddy/Caddyfile b/docker/caddy/Caddyfile index 0919b586..0502a727 100644 --- a/docker/caddy/Caddyfile +++ b/docker/caddy/Caddyfile @@ -9,6 +9,7 @@ siasky.net, *.siasky.net, *.hns.siasky.net { tls { dns route53 + ttl 2m } reverse_proxy nginx:80 } diff --git a/docker/caddy/Dockerfile b/docker/caddy/Dockerfile index d0f22045..7b670287 100644 --- a/docker/caddy/Dockerfile +++ b/docker/caddy/Dockerfile @@ -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