You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to reverse proxies HTTP to backend with proxy protocol for websocket with special path, but it seems http.matchers in caddy-l4 does not work even I just write one http match, here is my configuration:
Caddyfile.json
It seems the http matchers does not work, all websocket connections and URI path goes 127.0.0.1:8000, so how can I forward websocket connections with special path to a certain upstream server ?
The text was updated successfully, but these errors were encountered:
I'm guessing it's because the connection is TLS, not HTTP, based on the fact that you're terminating TLS. But terminating TLS after matching HTTP doesn't make any sense, since HTTPS works by putting HTTP inside TLS. So you first need to terminate TLS and then match HTTP.
I'm going to reverse proxies HTTP to backend with proxy protocol for websocket with special path, but it seems http.matchers in caddy-l4 does not work even I just write one http match, here is my configuration:
Caddyfile.json
caddy.log here:
http.log here:
It seems the http matchers does not work, all websocket connections and URI path goes 127.0.0.1:8000, so how can I forward websocket connections with special path to a certain upstream server ?
The text was updated successfully, but these errors were encountered: