So I managed to get what I wanted to do up and running, but I'm now looking for an easier way of doing it.
This is the code that I'm running. VirtualHost config
`
ProxyRequests Off
ProxyPreserveHost On
ProxyPass "/socket.io/" "http://10.169.0.9:3000/socket.io/"
ProxyPassReverse "/socket.io/" "http://10.169.0.9:3000/socket.io/"
RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/socket.io/(.*) ws://10.169.0.9:3000/socket.io/$1 [P,L]
`
I know that I cannot use the server's public IP address. I have tested that. Is there any way of dynamically having it insert the 10.169 address? Or is it only a manual process?