Last active
December 22, 2015 13:19
-
-
Save dgouyette/6478521 to your computer and use it in GitHub Desktop.
vhosts
This file contains hidden or 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
cat sites-enabled/www.cestpasdur.com | |
<VirtualHost *:80> | |
ServerName cestpasdur.com:80 | |
ServerAlias nexus.cestpasdur.com | |
UseCanonicalName Off | |
ServerAdmin "[email protected]" | |
CustomLog /var/www/www.cestpasdur.com/logs/nexus_access_log plesklog | |
ErrorLog /var/www/www.cestpasdur.com/logs/nexus_error_log | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyPreserveHost On | |
ProxyPass /nexus/ http://localhost:8081/nexus/ | |
ProxyPassReverse /nexus/ http://localhost:8081/nexus/ | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName cestpasdur.com:80 | |
ServerAlias www.cestpasdur.com | |
UseCanonicalName Off | |
ServerAdmin "[email protected]" | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyPreserveHost On | |
ProxyPass / http://localhost:7777/ | |
ProxyPassReverse / http://localhost:7777 | |
ProxyPass / http://localhost:7777/ | |
ProxyPassReverse / http://localhost:7777/ | |
CustomLog /var/www/www.cestpasdur.com/logs/access_log plesklog | |
ErrorLog /var/www/www.cestpasdur.com/logs/error_log | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName cestpasdur.com:80 | |
ServerAlias xxx.cestpasdur.com | |
UseCanonicalName Off | |
ServerAdmin "[email protected]" | |
DocumentRoot /var/www/xxx.cestpasdur.com/htdocs | |
CustomLog /var/www/xxx.cestpasdur.com/logs/access_log plesklog | |
ErrorLog /var/www/xxx.cestpasdur.com/logs/error_log | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment