EnergyVenom's picture
Deploy Patch Testing Co-worker
a289b2a verified
Raw History Blame Contribute Delete
551 Bytes
# HTTPS in front of the application. FPT_TLS is either an e-mail address (public certificate from Let's Encrypt, the
# domain must resolve to this host) or "internal" (a certificate from Caddy's own authority, for private networks).
{$FPT_DOMAIN} {
tls {$FPT_TLS}
encode zstd gzip
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
-Server
}
# live run updates and the live test view are long-lived streams: do not buffer them
reverse_proxy app:8800 {
flush_interval -1
transport http {
read_timeout 1h
}
}
}