diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index b52a3eed7e..69f5c57b3d 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -295,6 +295,30 @@ listen zanata2fedmsg 0.0.0.0:10046 balance hdr(appserver) server zanata2fedmsg01 zanata2fedmsg01:80 check inter 10s rise 1 fall 2 +{% if env == "production" %} +listen osbs 0.0.0.0:10047 + balance hdr(appserver) + server osbs-master01 osbs-master01:80 check inter 10s rise 1 fall 2 +{% endif %} + +{% if env == "production" %} +listen docker-registry 0.0.0.0:10048 + balance hdr(appserver) + server docker-registry01 docker-registry01:80 check inter 10s rise 1 fall 2 +{% endif %} + +{% if env == "production" %} +listen retrace 0.0.0.0:10049 + balance hdr(appserver) + server retrace01 retrace01:80 check inter 10s rise 1 fall 2 +{% endif %} + +{% if env == "production" %} +listen faf 0.0.0.0:10050 + balance hdr(appserver) + server faf01 faf01:80 check inter 10s rise 1 fall 2 +{% endif %} + # 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