mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
varnish: drop blockerbugs
Moved to openshift in 2022 (see e.g.ab4db44) and was dropped from the haproxy config in55056c6, nothing listens on 10022 on the proxies these days. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
committed by
adamwill
parent
3ef38feb21
commit
8801582e01
@@ -30,11 +30,6 @@ backend freemedia {
|
||||
.port = "10011";
|
||||
}
|
||||
|
||||
backend blockerbugs {
|
||||
.host = "localhost";
|
||||
.port = "10022";
|
||||
}
|
||||
|
||||
backend kerneltest {
|
||||
.host = "localhost";
|
||||
.port = "10038";
|
||||
@@ -120,16 +115,6 @@ sub vcl_recv {
|
||||
if (req.url ~ "^/freemedia/") {
|
||||
set req.backend_hint = freemedia;
|
||||
}
|
||||
if (req.http.X-Forwarded-Server ~ "^qa.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^qa.stg.fedoraproject.org") {
|
||||
if (req.url ~ "^/blockerbugs") {
|
||||
set req.backend_hint = blockerbugs;
|
||||
if (req.url ~ "^/blockerbugs/static/") {
|
||||
unset req.http.cookie;
|
||||
set req.http.clear-cookies = "yes";
|
||||
set req.url = regsub(req.url, "\?.*", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (req.http.X-Forwarded-Server ~ "^lists.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^lists.stg.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^lists.fedorahosted.org" || req.http.X-Forwarded-Server ~ "^lists.stg.fedorahosted.org" || req.http.X-Forwarded-Server ~ "^lists.pagure.io" ) {
|
||||
set req.backend_hint = mailman;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user