# Caddy forwards to the API server only. Insights (8081) and a web server (8082) don't # run in production; if Insights is ever re-enabled, reach it through an SSH tunnel, # never through this file. # # {$DOMAIN} is `learn.halkyon.eu` on sahaquiel, where Caddy obtains and renews a # Let's Encrypt certificate by itself, and `http://localhost` for the local rehearsal. {$DOMAIN} { encode zstd gzip # Serverpod's streaming methods use WebSockets; reverse_proxy upgrades them as-is. reverse_proxy server:8080 }