Created
November 8, 2010 19:46
-
-
Save drewlesueur/668159 to your computer and use it in GitHub Desktop.
Hook up node.js with apache.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #hook up node.js with apache so you can have an apache site on port 80 | |
| # and a node.js server running on port 80 | |
| # you may need to `a2enmod proxy` and `a2enmod proxy_http` | |
| <VirtualHost *:80> | |
| ServerName severus.the.tl | |
| ProxyPass / http://127.0.0.1:86/ | |
| # CustomLog /var/log/apache2/lazeroids-node-access.log combined | |
| # ErrorLog /var/log/apache2/lazeroids-node-error.log | |
| # NoCache * | |
| <Proxy *> | |
| Allow from all | |
| </Proxy> | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment