Files
imap-copier/Caddyfile.tls
T

12 lines
346 B
Caddyfile

# HTTPS profile: automatic Let's Encrypt certificate for $DOMAIN.
# Used by: docker compose -f docker-compose.yml -f docker-compose.tls.yml up -d
# Requires DOMAIN (and ACME_EMAIL) set in .env, and the server's :80/:443
# reachable from the internet for the ACME HTTP-01 challenge.
{
email {$ACME_EMAIL}
}
{$DOMAIN} {
reverse_proxy app:8080
}