# Automatic HTTPS for $DOMAIN (Let's Encrypt / ZeroSSL). HTTPS is required: # WebCrypto, service workers and push only work in a secure context. # Security headers (CSP etc.) are set by the app itself. {$DOMAIN} { encode zstd gzip reverse_proxy app:8080 { # Server-Sent Events: don't buffer flush_interval -1 } }