Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
Run NodeJS with Apache server
<VirtualHost *:80>
ProxyPass / http://localhost:1337/
ProxyPassReverse / http://localhost:1337/
SetEnvIf Request_URI "\.gif$|\.jpg$|\.png$|\.js$|\.css$|\.ico$" is_static
ErrorLog /home/vnrs_test/game/error.log
CustomLog /home/vnrs_test/game/access.log common env=!is_static
See mod_proxy documentation for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment