Put koji behind proxies in prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
fe53b28fd7
commit
449597f9f8
2 changed files with 0 additions and 3 deletions
|
@ -568,4 +568,3 @@
|
||||||
website: koji.stg.fedoraproject.org
|
website: koji.stg.fedoraproject.org
|
||||||
destname: koji
|
destname: koji
|
||||||
proxyurl: http://localhost:10056
|
proxyurl: http://localhost:10056
|
||||||
when: env == "staging"
|
|
||||||
|
|
|
@ -359,14 +359,12 @@ listen modernpaste 0.0.0.0:10055
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if env == "staging" %}
|
|
||||||
|
|
||||||
listen koji 0.0.0.0:10056
|
listen koji 0.0.0.0:10056
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server koji01 koji01:80 check inter 10s rise 1 fall 2
|
server koji01 koji01:80 check inter 10s rise 1 fall 2
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
{% if inventory_hostname_short == 'proxy01' or inventory_hostname_short == 'proxy10' %}
|
{% if inventory_hostname_short == 'proxy01' or inventory_hostname_short == 'proxy10' %}
|
||||||
# Only enable this on proxy01 or proxy10
|
# Only enable this on proxy01 or proxy10
|
||||||
listen src 0.0.0.0:10057
|
listen src 0.0.0.0:10057
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue