{$TEAMROOM_DOMAIN} {
	encode zstd gzip
	# Huddles' signalling (LiveKit, docs/self-hosting.md › Huddles): the apps connect to
	# wss://<domain>/livekit. Their audio goes to LiveKit's 7881/tcp and 7882/udp, not through here.
	handle_path /livekit/* {
		reverse_proxy livekit:7880
	}
	# The API and both WebSocket endpoints (/api/ws, /api/gateway/ws); Caddy upgrades WebSockets itself.
	handle {
		reverse_proxy server:9800
	}
}
