From 517fa8f8b5d33136addf0ffb98e19b4190a13ae8 Mon Sep 17 00:00:00 2001 From: Peter Dohogne Date: Mon, 2 Aug 2021 18:40:47 -0400 Subject: [PATCH] Dropping Authorization from graphql hash --- etc/vcl_snippets/hash.vcl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/vcl_snippets/hash.vcl b/etc/vcl_snippets/hash.vcl index e918fba6..da416ba7 100644 --- a/etc/vcl_snippets/hash.vcl +++ b/etc/vcl_snippets/hash.vcl @@ -8,4 +8,10 @@ if ( req.http.Authorization ~ "^Bearer" ) { set req.hash += "Authorized"; } + + set req.hash += req.url; + set req.hash += req.http.Host; + set req.hash += req.http.Fastly-SSL; + set req.hash += req.vcl.generation; + return (hash); }