mod_proxy_wstunnel Websockets support module for mod_proxy Extension mod_proxy_wstunnel.c proxy_wstunnel_module Available for unix in version 2.4.5 and later

This module requires the service of mod_proxy. It provides support for the tunnelling of web socket connections to a backend websockets server. The connection is automagically upgraded to a websocket connection:

Upgrade: WebSocket Connection: Upgrade Proxying requests to websockets server ProxyPass /ws2/ ws://echo.websocket.org/ ProxyPass /wss2/ wss://echo.websocket.org/
mod_proxy