forked from infra/ansible
proxies-reverseproxy: set keepalive=on ttl=10 for koji
This fixes intermittent 502 Bad Gateway errors during long-running koji connections (like watch-task or watch-logs). For more details on proxy keepalive and ttl, see: https://httpd.apache.org/docs/2.4/mod/mod_proxy.html Fixes #12913 Signed-off-by: Victor Koycheff <victorkoycheff@gmail.com>
This commit is contained in:
parent
6eeed591f7
commit
35a1b3223b
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
vars:
|
||||
- varnish_url: http://localhost:6081
|
||||
varnish_url: http://localhost:6081
|
||||
|
||||
pre_tasks:
|
||||
|
||||
|
|
@ -661,6 +661,7 @@
|
|||
website: koji.fedoraproject.org
|
||||
destname: koji
|
||||
keephost: true
|
||||
proxyopts: "keepalive=on ttl=10"
|
||||
balancer_name: koji
|
||||
balancer_members:
|
||||
- "koji01.{{ datacenter }}.fedoraproject.org"
|
||||
|
|
@ -674,6 +675,7 @@
|
|||
website: koji.fedoraproject.org
|
||||
destname: koji
|
||||
keephost: true
|
||||
proxyopts: "keepalive=on ttl=10"
|
||||
balancer_name: koji
|
||||
balancer_members:
|
||||
- "koji01.stg.{{ datacenter }}.fedoraproject.org"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue