diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 9cb31cfa3e..a507f2e668 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -536,7 +536,7 @@ backend modernpaste-backend {% endif %} option httpchk GET / -{% if inventory_hostname_short == 'proxy01' or inventory_hostname_short == 'proxy10' %} +{% if 'phx2' in inventory_hostname %} frontend koji-frontend bind 0.0.0.0:10056 @@ -549,7 +549,7 @@ backend koji-backend server koji01 koji01:80 check inter 10s rise 1 fall 2 option httpchk GET / -# Only enable this on proxy01 or proxy10 +# Only enable this on phx2 proxies frontend src-frontend bind 0.0.0.0:10057 default_backend src-backend