summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-05-07 10:27:18 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-05-07 10:27:25 +0000
commitf4cce884f3c893b33cdf49f2ee444e48adab2eae (patch)
tree79041cba7650c693fcc8138b190c2db2f02a8420
parent57117196cc13445a7109c3cfca47b70c291aa292 (diff)
downloadansible-f4cce884f3c893b33cdf49f2ee444e48adab2eae.tar.gz
ansible-f4cce884f3c893b33cdf49f2ee444e48adab2eae.tar.xz
ansible-f4cce884f3c893b33cdf49f2ee444e48adab2eae.zip
Fix koschei url
-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, "\?.*", "");
}