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