80/443 and UDP 443, obtains certificates for domain names, and proxies to services on the private Docker network.
Host layout
- Separate hosts
- Single app/API host
DNS and firewall
Create A/AAAA records for configured hosts, allow inbound 80/443, and keep application/data ports closed. Caddy needs outbound network access for certificate issuance.WebSocket requirements
Socket.IO requires HTTP upgrade support, suitable idle timeouts, and consistent forwarded scheme/host information. Caddy’sreverse_proxy supports upgrades automatically, but an upstream cloud load balancer must also allow them.
