varnish: drop blockerbugs

Moved to openshift in 2022 (see e.g. ab4db44) and was dropped from
the haproxy config in 55056c6, nothing listens on 10022 on the
proxies these days.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson
2025-12-24 00:12:21 -08:00
committed by adamwill
parent 3ef38feb21
commit 8801582e01

View File

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