Created
June 26, 2017 14:39
-
-
Save marshallswain/5cad1c97daf682b09b3e6288f9164624 to your computer and use it in GitHub Desktop.
Feathers socket.io behind Apache reverse proxy - credit to j2l4e
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
RewriteEngine On | |
RewriteCond %{HTTP:Connection} Upgrade [NC] | |
RewriteRule ^/(.*) ws://localhost:3030/$1 [P,L] | |
ProxyPass / http://localhost:3030/ | |
ProxyPassReverse / http://localhost:3030/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment