diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index f9f0979deb..524c02330f 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -371,7 +371,11 @@ listen koji 0.0.0.0:10056 # Only enable this on proxy01 or proxy10 listen src 0.0.0.0:10057 balance hdr(appserver) +{% if env == "staging" %} server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2 +{% else %} + server pkgs02 pkgs02:80 check inter 10s rise 1 fall 2 +{% endif %} option httpchk GET / {% endif %}