add kojipkgs to proxy01/10 and haproxy

This commit is contained in:
Kevin Fenzi 2017-01-15 20:16:41 +00:00
parent 6a580284ac
commit 1cb0972193
3 changed files with 19 additions and 0 deletions

View file

@ -405,6 +405,14 @@ listen ipa01 0.0.0.0:10061
server ipa01 ipa01:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem
option httpchk GET /ipa/ui/
{% if env == "production" and 'phx2' in inventory_hostname %}
listen kojipkgs 0.0.0.0:10062
balance hdr(appserver)
server kojipkgs01.phx2.fedoraproject.org kojipkgs01.phx2.fedoraproject.org:80 check inter 10s rise 1 fall 2
server kojipkgs02.phx2.fedoraproject.org kojipkgs02.phx2.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