Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <location /socket>
- RewriteEngine On
- RewriteCond %{QUERY_STRING} transport=websocket [NC]
- RewriteRule /(.*) ws://localhost:3001/socket.io/%{QUERY_STRING} [P,L]
- ProxyPass http://localhost:3001
- ProxyPassReverse http://localhost:3001
- </location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement