Files

10 lines
369 B
Caddyfile
Raw Permalink Normal View History

# Automatic HTTPS via Let's Encrypt. DOMAIN comes from ./.env (docker compose
# substitutes ${DOMAIN}). Point the domain's DNS A record to this VPS first.
{$DOMAIN} {
# flush_interval -1 disables response buffering so SSE (/api/stream) streams
# in real time. Do NOT gzip event-stream responses (would buffer them).
reverse_proxy app:8080 {
flush_interval -1
}
}