Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Apache2 Vhost settings for setting up server to serve PHP and Nodejs apps together
ProxyPreserveHost on
ProxyPass /blog !
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
alias /blog /var/www/craftypixels/blog
DocumentRoot /var/www/craftypixels/blog/
Options -Indexes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment