From cc1795cec715e57c464d514e376d4aa40b028484 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 24 Nov 2017 21:45:37 +0000 Subject: [PATCH] Also add koji stuff on other internal proxies Signed-off-by: Patrick Uiterwijk --- roles/haproxy/templates/haproxy.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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