From fd282d3ad6ad8835dd07d4e81bcfb70d88e8398d Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 28 Sep 2015 18:55:28 +0000 Subject: [PATCH] Prod haproxy entry for autocloud. --- 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 15a6a69e86..8404dc5052 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -199,6 +199,12 @@ listen koschei 0.0.0.0:10040 server koschei01 koschei01:80 check inter 10s rise 1 fall 2 option httpchk GET /koschei/ +listen autocloud 0.0.0.0:10041 + balance hdr(appserver) + server autocloud-web01 autocloud-web01:80 check inter 10s rise 1 fall 2 + server autocloud-web02 autocloud-web02:80 check inter 10s rise 1 fall 2 + option httpchk GET /autocloud/ + # 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