Caddy V2 how to proxy websoket (v2ray websocket + tls)

Do you need a websocket, or do you need an unix socket?

There is an example of an unix socket given here: Conventions — Caddy Documentation

As for web sockets, the documentation for matchers shows an entire websocket proxy: Caddyfile Concepts — Caddy Documentation

1 Like