Add secondary kojis to haproxy

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-12-15 00:08:07 +00:00
parent d36913fe80
commit fc9c169878

View file

@ -379,6 +379,23 @@ listen src 0.0.0.0:10057
{% endif %}
{% if env == "production" and 'phx2' in inventory_hostname %}
listen ppckoji 0.0.0.0:10058
balance hdr(appserver)
server ppc-koji01.ppc.fedoraproject.org ppc-koji01.ppc.fedoraproject.org:80 check inter 10s rise 1 fall 2
option httpchk GET /
listen s390koji 0.0.0.0:10059
balance hdr(appserver)
server s390-koji01.s390.fedoraproject.org s390-koji01.s390.fedoraproject.org:80 check inter 10s rise 1 fall 2
option httpchk GET /
listen armkoji 0.0.0.0:10060
balance hdr(appserver)
server arm-koji01.qa.fedoraproject.org arm-koji01.qa.fedoraproject.org:80 check inter 10s rise 1 fall 2
option httpchk GET /
{% 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