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