Skip to content

Instantly share code, notes, and snippets.

@thekarel
Created September 3, 2013 08:45
Show Gist options
  • Save thekarel/6421267 to your computer and use it in GitHub Desktop.
Save thekarel/6421267 to your computer and use it in GitHub Desktop.
mod_proxy and balancer on Stackato
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>
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