From dce567ee4d3b638b73a304d05c7bdc75dccce520 Mon Sep 17 00:00:00 2001 From: Sebastian Bischoff Date: Mon, 8 Jun 2020 21:02:13 +0200 Subject: [PATCH] Unset cookie so that varnish can cache requests --- config/varnish.vcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/varnish.vcl b/config/varnish.vcl index 45bd7fb..468e0f6 100644 --- a/config/varnish.vcl +++ b/config/varnish.vcl @@ -21,6 +21,8 @@ sub vcl_recv { } return (lookup); } + + unset req.http.cookie; # Routing request to backend based on X-Carto-Service header from nginx if (req.http.X-Carto-Service == "sqlapi") {