forked from infra/ansible
proxies / website: on src/koji/riscv-koji have POSTs bypass anubis
See infra/tickets#12913 and https://github.com/TecharoHQ/anubis/issues/1624 We are seeing sporadic EOF errors when koji/src/riscv-koji send a 200 reply back through anubis. Since we just allow POST in anubis anyhow, bypass it entirely for them to avoid the EOF issue until we can sort it out more. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
623214b0c9
commit
7688d6da70
1 changed files with 11 additions and 0 deletions
|
|
@ -148,6 +148,17 @@
|
|||
ProxyTimeout 10800
|
||||
{% endif %}
|
||||
|
||||
{% if site_name == 'koji.fedoraproject.org' or site_name == 'riscv-koji.fedoraproject.org' or site_name == 'src.fedoraproject.org' %}
|
||||
# We allow POST thru anubis, but we are seeing a sporadic EOF error with replies
|
||||
# coming from the backend. See https://forge.fedoraproject.org/infra/tickets/issues/12913
|
||||
#
|
||||
# So, just bypass anubis for POST's
|
||||
#
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_METHOD} POST
|
||||
RewriteRule ^(.*)$ http://127.0.0.1:8345$1 [P,L]
|
||||
{% endif %}
|
||||
|
||||
{% if site_name.startswith('openqa') %}
|
||||
# Openqa uses websockets, so allow them through anubis proxying.
|
||||
ProxyPass / http://127.0.0.1:8987/ upgrade=websocket keepalive=on ttl=15
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue