English
Architecture
CaddyonTCP 80/443for websites and reverse proxy.Hysteria2onUDP 443for proxy traffic.- Node app (for example books) on
3001, proxied by Caddy.
Core steps
- Set Hysteria2
listen: :443in/etc/hysteria/config.yaml. - Disable Caddy HTTP/3:
{ servers { protocols h1 h2 } }. - Validate and reload Caddy.
- Confirm ports with
ss -lntup.
Expected result
caddy listens on TCP 443, and hysteria listens on UDP 443, no conflict.