Created
March 2, 2013 00:35
-
-
Save binho/5069051 to your computer and use it in GitHub Desktop.
rodar nodejs na porta 80 junto com apache
This file contains 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
<VirtualHost cabine.la:80> | |
ServerAdmin contato@cabine.la | |
ServerName www.cabine.la | |
ServerAlias cabine.la | |
DocumentRoot /var/www/cabine | |
ProxyRequests off | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
# redireciona para porta em que nodejs esta rodando | |
<Location /> | |
ProxyPass http://localhost:8000/ | |
ProxyPassReverse http://localhost:8000/ | |
</Location> | |
ErrorLog /var/log/cabine_error.log | |
CustomLog /var/log/cabine_access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment