Created
September 3, 2013 08:45
-
-
Save thekarel/6421267 to your computer and use it in GitHub Desktop.
mod_proxy and balancer on Stackato
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
ProxyPass /website/services/api/ Balancer://OurCluster/website/services/api/ | |
<Proxy Balancer://OurCluster> | |
BalancerMember ajp://10.10.10.165:6961 route=S01 | |
BalancerMember ajp://10.10.10.166:6961 route=S02 | |
BalancerMember ajp://10.10.10.167:6961 route=S03 | |
</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
hooks: | |
pre-running: | |
- cp /app/apache/mods-available/proxy* /app/apache/mods-enabled/ | |
- cp balancer.conf /app/apache/mods-enabled/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment