Put koji behind proxies in prod

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-12-11 23:30:37 +00:00
parent fe53b28fd7
commit 449597f9f8
2 changed files with 0 additions and 3 deletions

View file

@ -568,4 +568,3 @@
website: koji.stg.fedoraproject.org
destname: koji
proxyurl: http://localhost:10056
when: env == "staging"

View file

@ -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