caddy config

This commit is contained in:
bartronx7 2025-01-19 17:56:01 -06:00
parent c82826e021
commit 31d0c4d350
2 changed files with 24 additions and 0 deletions

16
caddy/Caddyfile Normal file
View file

@ -0,0 +1,16 @@
{
debug
}
tls {
dns namecheap {
api_key {env.NAMECHEAP_API_KEY}
user {env.NAMECHEAP_API_USER}
api_endpoint https://api.namecheap.com/xml.response
client_ip {env.PUBLIC_IP}
}
}
miniflux {
reverse_proxy miniflux.akeley.tech miniflux:8080
}

8
caddy/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM caddy:2.9-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/namecheap
FROM caddy:2.9
COPY --from=builder /usr/bin/caddy /usr/bin/caddy