From 449597f9f82101ef5057f1a053c6ca06b9f907f5 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sun, 11 Dec 2016 23:30:37 +0000 Subject: [PATCH] Put koji behind proxies in prod Signed-off-by: Patrick Uiterwijk --- playbooks/include/proxies-reverseproxy.yml | 1 - roles/haproxy/templates/haproxy.cfg | 2 -- 2 files changed, 3 deletions(-) diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index f4780d2d35..ca5a22e985 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -568,4 +568,3 @@ website: koji.stg.fedoraproject.org destname: koji proxyurl: http://localhost:10056 - when: env == "staging" diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 524c02330f..49fbdca0f5 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -359,14 +359,12 @@ listen modernpaste 0.0.0.0:10055 option httpchk GET / {% endif %} -{% if env == "staging" %} listen koji 0.0.0.0:10056 balance hdr(appserver) server koji01 koji01:80 check inter 10s rise 1 fall 2 option httpchk GET / -{% endif %} {% if inventory_hostname_short == 'proxy01' or inventory_hostname_short == 'proxy10' %} # Only enable this on proxy01 or proxy10 listen src 0.0.0.0:10057