Created
January 11, 2017 08:50
-
-
Save jbutko/7315525aa97be6c40dc050c4228bd60c to your computer and use it in GitHub Desktop.
Configure socket.io on apache server through https
This file contains hidden or 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
# https://github.com/socketio/socket.io/issues/1942#issuecomment-204335448 | |
ProxyPass / http://localhost:3999/ | |
ProxyPassReverse / http://localhost:3999/ | |
RewriteEngine on | |
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] | |
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC] | |
RewriteRule .* ws://localhost:3999%{REQUEST_URI} [P] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment