aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-02-03 12:59:00 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-02-03 12:59:00 +0000
commitdd9575ca3e75b9460acb23245855c5b50fc0ee3a (patch)
tree0ad629163edeabdeec407bccd2ffe0b1c0526e04
parent2e57ede47a4b37d9d814d7686b50443c4b74f124 (diff)
*Do* strip country detection cookies in varnish
-rw-r--r--config/varnish-alaveteli.vcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/varnish-alaveteli.vcl b/config/varnish-alaveteli.vcl
index c31b63678..7eedf83fc 100644
--- a/config/varnish-alaveteli.vcl
+++ b/config/varnish-alaveteli.vcl
@@ -28,7 +28,7 @@ sub vcl_recv {
set req.http.X-Forwarded-For = client.ip;
# Remove Google Analytics, has_js, and last-seen cookies
- set req.http.Cookie = regsuball(req.http.Cookie, "(^|;\s*)(__[a-z]+|has_js|seen_foi2)=[^;]*", "");
+ set req.http.Cookie = regsuball(req.http.Cookie, "(^|;\s*)(__[a-z]+|has_js|has_seen_country_message|seen_foi2)=[^;]*", "");
# Normalize the Accept-Encoding header
if (req.http.Accept-Encoding) {