Files

14 lines
308 B
Caddyfile
Raw Permalink Normal View History

# Replace overlord.example.com with the public DNS name. Caddy obtains and
# renews the public certificate automatically.
overlord.example.com {
tls {
protocols tls1.3
}
reverse_proxy 127.0.0.1:5173 {
header_up Host {host}
header_up X-Forwarded-Proto https
header_up X-Real-IP {remote_host}
}
}