Created
May 18, 2016 09:09
-
-
Save hufon/26b18cfb49197e8eaca96524d93f2663 to your computer and use it in GitHub Desktop.
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> | |
DocumentRoot "var/www" | |
ServerName formation.liferay | |
<Location /manager> | |
SetHandler balancer-manager | |
Allow from all | |
</Location> | |
<Proxy balancer://liferay> | |
BalancerMember "http://<serveur1>:8080/" | |
BalancerMember "http://<serveur2>:8081/" | |
ProxySet lbmethod=byrequests | |
</Proxy> | |
ProxyPass /manager ! | |
ProxyPass / balancer://liferay/ | |
ProxyPassReverse / balancer://liferay/ | |
ProxyPreserveHost On | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment