Skip to content

Instantly share code, notes, and snippets.

@euoia
Created February 27, 2014 17:05
Show Gist options
  • Save euoia/9254412 to your computer and use it in GitHub Desktop.
Save euoia/9254412 to your computer and use it in GitHub Desktop.
<VirtualHost *>
ServerName www.multiplayergorillas.com
ServerAlias multiplayergorillas.com
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /socket.io/1/websocket ws://localhost:3000/socket.io/1/websocket
ProxyPassReverse /socket.io/1/websocket ws://localhost:3000/socket.io/1/websocket
ProxyPass /socket.io/ http://localhost:3000/socket.io/
ProxyPassReverse /socket.io/ http://localhost:3000/socket.io/
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
CustomLog /home/james/multiplayergorillas.com/logs/access.log common
ErrorLog /home/james/multiplayergorillas.com/logs/error.log
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment