# Caddy site file for wxch. Copy to /etc/caddy/sites/wxch.caddy and change example.org to your domain. # Your main /etc/caddy/Caddyfile only needs one line: import /etc/caddy/sites/*.caddy # Other services (a git server, a camera page, ...) get their own file next to this one, so adding or # removing them never touches this one. # # One wxch-server (listening on 127.0.0.1:8080) answers all these names; it tells them apart by host name. # flush_interval -1 keeps streamed answers (chat, terminal) flowing instead of arriving in chunks. control.example.org, api.example.org, chat.example.org, notepad.example.org, note.example.org, studio.example.org, talk.example.org { encode zstd gzip reverse_proxy 127.0.0.1:8080 { flush_interval -1 } }