Skip to content

Instantly share code, notes, and snippets.

@basarat
Created December 12, 2014 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basarat/5c67c0041c381f0dc692 to your computer and use it in GitHub Desktop.
Save basarat/5c67c0041c381f0dc692 to your computer and use it in GitHub Desktop.
Apache (mod_proxy / mode_http) + Nodejs
<VirtualHost 8.8.8.8: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