Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apache configuration for node.js proxy
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName cuboid.io
ServerAlias www.cuboid.io
DocumentRoot /var/www/cuboidio
<Directory />
Options -Indexes +FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ProxyPreserveHost On
ProxyVia Full
<Proxy *>
Require all granted
</Proxy>
ProxyPass / http://127.0.0.1:9090/
ProxyPassReverse / http://127.0.0.1:9090/
ErrorLog /var/log/apache2/cuboid.io-error.log
LogLevel error
CustomLog /var/log/apache2/cuboid.io-access.log combined
</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.