How do I get Apache to reverse proxy web socket connections?
I have a chat room application that works fine on the local host but not for connections through the reverse proxy.
How do I set this up so that it will work?
<VirtualHost *:80>
ServerAdmin [email protected]
ProxyRequests off
DocumentRoot /var/www
ProxyPreserveHost On
ServerName 82.2.180.6
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
LogLevel error
<Location />
ProxyPass http://127.0.0.1:3050/
ProxyPassReverse http://127.0.0.1:3050/
Order allow,deny
Allow from all
</Location>
</VirtualHost>