summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/varnish/files/proxy.vcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/varnish/files/proxy.vcl b/roles/varnish/files/proxy.vcl
index 0deb289b3..37ca3da7c 100644
--- a/roles/varnish/files/proxy.vcl
+++ b/roles/varnish/files/proxy.vcl
@@ -251,9 +251,9 @@ sub vcl_recv {
set req.url = regsub(req.url, "\?.*", "");
}
}
- if (req.http.X-Forwarded-Server ~ "^koschei.fedoraproject.org") {
+ if (req.url ~ "^/koschei") {
set req.backend_hint = koschei;
- if (req.url ~ "^/static/") {
+ if (req.url ~ "^/koschei/static/") {
unset req.http.cookie;
set req.url = regsub(req.url, "\?.*", "");
}