Also add koji stuff on other internal proxies

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-11-24 21:45:37 +00:00
parent 37c7bf8b21
commit cc1795cec7

View file

@ -536,7 +536,7 @@ backend modernpaste-backend
{% endif %} {% endif %}
option httpchk GET / option httpchk GET /
{% if inventory_hostname_short == 'proxy01' or inventory_hostname_short == 'proxy10' %} {% if 'phx2' in inventory_hostname %}
frontend koji-frontend frontend koji-frontend
bind 0.0.0.0:10056 bind 0.0.0.0:10056
@ -549,7 +549,7 @@ backend koji-backend
server koji01 koji01:80 check inter 10s rise 1 fall 2 server koji01 koji01:80 check inter 10s rise 1 fall 2
option httpchk GET / option httpchk GET /
# Only enable this on proxy01 or proxy10 # Only enable this on phx2 proxies
frontend src-frontend frontend src-frontend
bind 0.0.0.0:10057 bind 0.0.0.0:10057
default_backend src-backend default_backend src-backend