From 1523a749badd08bc844e05a389d43a3c0700ce89 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 5 Nov 2015 16:22:28 +0000 Subject: [PATCH] prod haproxy entry for statscache. --- roles/haproxy/templates/haproxy.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 65c25d3bf1..f4c692ad9b 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -206,6 +206,12 @@ listen autocloud 0.0.0.0:10041 server autocloud-web02 autocloud-web02:80 check inter 10s rise 1 fall 2 option httpchk GET /autocloud/ +listen statscache 0.0.0.0:10042 + balance hdr(appserver) + server statscache-web01 statscache-web01:80 check inter 10s rise 1 fall 2 + server statscache-web02 statscache-web02:80 check inter 10s rise 1 fall 2 + option httpchk GET /statscache/ + # Apache doesn't handle the initial connection here like the other proxy # entries. This proxy also doesn't use the http mode like the others. # stunnel should be sitting on port 9939 (public) and redirecting