Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName socket.lan-host.net
  3.  
  4. RewriteEngine On
  5. RewriteCond %{REQUEST_URI} ^/socket.io [NC]
  6. RewriteCond %{QUERY_STRING} transport=websocket [NC]
  7. RewriteRule /(.*) ws://localhost:8001/$1 [P,L]
  8.  
  9. ProxyPass / http://164.132.198.146:8001/
  10. ProxyPassReverse / http://164.132.198.146:8001/
  11. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement