diff --git a/conf/httpd_alias.conf b/conf/httpd_alias.conf index 0673379..bde5b05 100644 --- a/conf/httpd_alias.conf +++ b/conf/httpd_alias.conf @@ -1,5 +1,7 @@ -ProxyPass /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket -ProxyPassReverse /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket + + ProxyPass /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket + ProxyPassReverse /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket + ProxyPass /socket.io/ http://localhost:8888/socket.io/ ProxyPassReverse /socket.io/ http://localhost:8888/socket.io/ AliasMatch ^/vroom/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3 diff --git a/conf/httpd_vhost.conf b/conf/httpd_vhost.conf index 0bb0d59..0acb317 100644 --- a/conf/httpd_vhost.conf +++ b/conf/httpd_vhost.conf @@ -8,8 +8,10 @@ ServerName vroom.example.com SSLEngine on DocumentRoot /opt/vroom/public - ProxyPass /socket.io/1/websocket ws://localhost:8889/socket.io/1/websocket - ProxyPassReverse /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket + + ProxyPass /socket.io/1/websocket ws://localhost:8889/socket.io/1/websocket + ProxyPassReverse /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket + ProxyPass /socket.io/ http://localhost:8888/socket.io/ ProxyPassReverse /socket.io/ http://localhost:8888/socket.io/ AliasMatch ^/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3