Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Apache2 Vhost settings for setting up server to serve PHP and Nodejs apps together
<Virtualhost>
ServerName craftypixels.com
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
</Virtualhost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.