mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Add haproxy entries for osbs, docker-registry, retrace and faf
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user