Skip to content

Instantly share code, notes, and snippets.

@agrippa1994
Forked from davybrion/s1.xml
Created October 11, 2015 20:06
Show Gist options
  • Save agrippa1994/7501ff55221582e67a1b to your computer and use it in GitHub Desktop.
Save agrippa1994/7501ff55221582e67a1b to your computer and use it in GitHub Desktop.
code snippet for "Hosting a Node.js site through Apache" post
<VirtualHost 109.74.199.47:80>
ServerAdmin davy.brion@thatextramile.be
ServerName thatextramile.be
ServerAlias www.thatextramile.be
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