From 2fa70ac6c34feccf92bbcb15c5f483961fa4fb12 Mon Sep 17 00:00:00 2001 From: Barry Zubel <20169744+Lepidopterist@users.noreply.github.com> Date: Tue, 15 Jul 2025 09:57:09 +0100 Subject: [PATCH] Update 20_cache.conf Ignore Set-Cookie to mitigate Cloudflare BYPASS problem --- .../etc/nginx/sites-available/cache.conf.d/root/20_cache.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/etc/nginx/sites-available/cache.conf.d/root/20_cache.conf b/overlay/etc/nginx/sites-available/cache.conf.d/root/20_cache.conf index 4fb1ce4..8416f4a 100644 --- a/overlay/etc/nginx/sites-available/cache.conf.d/root/20_cache.conf +++ b/overlay/etc/nginx/sites-available/cache.conf.d/root/20_cache.conf @@ -2,7 +2,7 @@ slice 1m; proxy_cache generic; - proxy_ignore_headers Expires Cache-Control; + proxy_ignore_headers Expires Cache-Control Set-Cookie; proxy_cache_valid 200 206 CACHE_MAX_AGE; proxy_set_header Range $slice_range;