Skip to content

Instantly share code, notes, and snippets.

@drawcode
Forked from davybrion/s1.xml
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save drawcode/9014078 to your computer and use it in GitHub Desktop.

Select an option

Save drawcode/9014078 to your computer and use it in GitHub Desktop.
When you are stuck with apache bound to a port on a server and need a node.js proxy.
<VirtualHost 109.74.199.47:80>
ServerAdmin [email protected]
ServerName myserver.com
ServerAlias www.myserver.com
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass http://localhost:3000/
ProxyPassReverse http://localhost:3000/
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment