Skip to content

Instantly share code, notes, and snippets.

@Alexandredc
Last active August 29, 2015 14:07
Show Gist options
  • Save Alexandredc/aba9fb8af50fa6b47a11 to your computer and use it in GitHub Desktop.
Save Alexandredc/aba9fb8af50fa6b47a11 to your computer and use it in GitHub Desktop.
Config Apache for NodeJs using ProxyPass on port 80
<VirtualHost *:80>
ServerName host.com
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass http://localhost:3000/ retry=0
ProxyPassReverse http://localhost:3000/
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment