1. My Caddy version (caddy version
):
2. How I run Caddy:
a. System environment:
b. Command:
It should support automatically generating a LetsEncrypt for the generated Azure domain name. This is the current part of the docker-compose.yml that pertains to Caddy that would need to be updated as well.
caddy:
image: abiosoft/caddy
restart: unless-stopped
depends_on:
- api
- web
- guide
ports:
- "80:80"
- "443:443"
command: -default-sni HOST_IP -conf /etc/Caddyfile
volumes:
- ./Caddyfile:/etc/Caddyfile
- ./volumes/caddy:/root/.caddy
- ./keys:/root/keys
c. Service/unit/compose file:
paste full file contents here
d. My complete Caddyfile or JSON config:
:80 {
redir https://{host}{uri}
}
:443, https://HOST_IP {
tls /root/keys/wildcard.crt /root/keys/wildcard.key
proxy / web:80 {
except /blob /graphql /kibana
}
proxy /blob api:9000
proxy /graphql api:9000
proxy /kibana api:9000
}
https://HOST_IP {
tls /root/keys/wildcard.crt /root/keys/wildcard.key
proxy / guide:80
}
3. The problem I’m having:
I was using version 1, so I need version 2 and I don’t know much about caddy