iad2: haproxy: adjust haproxy for iad2, should make kojipkgs, src and rabbitmq reachable
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
fa38fe6191
commit
5097e46eb0
1 changed files with 5 additions and 5 deletions
|
@ -358,7 +358,7 @@ backend oci-candidate-registry-backend
|
|||
balance hdr(appserver)
|
||||
server oci-candidate-registry01 oci-candidate-registry01:5000 check inter 10s rise 1 fall 2
|
||||
|
||||
{% if 'phx2' in inventory_hostname %}
|
||||
{% if 'phx2' in inventory_hostname or 'iad2' in inventory_hostname %}
|
||||
|
||||
# Only enable this on phx2 proxies
|
||||
frontend src-frontend
|
||||
|
@ -386,15 +386,15 @@ backend ipa01-backend
|
|||
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 %}
|
||||
{% if env == "production" and 'phx2' in inventory_hostname or 'iad2' in inventory_hostname %}
|
||||
frontend kojipkgs-frontend
|
||||
bind 0.0.0.0:10062
|
||||
default_backend kojipkgs-backend
|
||||
|
||||
backend kojipkgs-backend
|
||||
balance uri
|
||||
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
|
||||
server kojipkgs01.{{ datacenter }}.fedoraproject.org kojipkgs01.{{ datacenter }}.fedoraproject.org:80 check inter 10s rise 1 fall 2
|
||||
server kojipkgs02.{{ datacenter }}.fedoraproject.org kojipkgs02.{{ datacenter }}.fedoraproject.org:80 check inter 10s rise 1 fall 2
|
||||
option httpchk GET /
|
||||
{% endif %}
|
||||
|
||||
|
@ -430,7 +430,7 @@ backend copr-backend
|
|||
option httpchk GET /api_3/
|
||||
{% endif %}
|
||||
|
||||
{% if datacenter == "phx2" %}
|
||||
{% if datacenter == "phx2" or datacenter == "iad2" %}
|
||||
# These ports are for proxying rabbitmq (AMQP) protocol through.
|
||||
# At this moment, internal- and public-rabbitmq both point to the exact same set of
|
||||
# brokers on the backend, but the internal- is intended for applications we directly control.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue