Created
March 13, 2017 16:27
Star
You must be signed in to star a gist
apache configuration for node.js proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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