reverse proxy wss apache code example
Example: apache ws proxy
<VirtualHost *:443>
ProxyPreserveHost On
ServerName www.mysite.com
ProxyPass / http://localhost:3333/
ProxyPassReverse / http://localhost:3333/
RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://localhost:3333/$1 [P,L]
...