From a previously asked question I know that I can route requests to a different servers with reverse proxy, such as mod_proxy for apache. My question is, before I dig deeper into its setup, which of the reverse proxy's will allow me make a route decision based on the HTTP or ws in the request header. So for example, I'd like all requests coming in to https://example.com
to be routed to lanserver:443, while requests, coming to proxy with wss://example.com
to be routed to web socket endpoint at lanserver:8443.
Would this be possible with mod_proxy? Or any other Linux proxy?
Thanks.