<VirtualHost *:80>
...
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule .* "ws://172.20.10.10:8080%{REQUEST_URI}" [P]
...
</VirtualHost>
|
|
The rewrite_module must be enabled to support this configuration.
|