Created
October 19, 2017 21:40
-
-
Save rederlo/9cecce31ff82a6627ce5dda6be30fdee to your computer and use it in GitHub Desktop.
Proxy app node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName my.domain.name | |
RewriteEngine On | |
RewriteCond %{QUERY_STRING} transport=polling | |
RewriteRule /(.*)$ http://localhost:7000/$1 [P] | |
ProxyRequests off | |
ProxyPass /socket.io/ ws://localhost:7000/socket.io/ | |
ProxyPassReverse /socket.io/ ws://localhost:7000/socket.io/ | |
ProxyPass /dir/path/ http://localhost:7000/ | |
ProxyPassReverse /dir/path/ http://localhost:7000/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment