Advertisement
Guest User

Untitled

a guest
Sep 21st, 2016
718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <location /socket>
  2. RewriteEngine On
  3. RewriteCond %{QUERY_STRING} transport=websocket [NC]
  4. RewriteRule /(.*) ws://localhost:3001/socket.io/%{QUERY_STRING} [P,L]
  5. ProxyPass http://localhost:3001
  6. ProxyPassReverse http://localhost:3001
  7. </location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement