Add haproxy entries for osbs, docker-registry, retrace and faf

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-04-05 17:02:10 +00:00
parent 8b7fd1a7d8
commit 7e64e13604

View file

@ -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