From 40b5d41f9d2f66b28e8fd3c031f2f6c4fce3e7f9 Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Mon, 14 Mar 2022 18:50:24 +0100 Subject: [PATCH] Fix bypass. --- docker/nginx/conf.d/include/proxy-cache-downloads | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/include/proxy-cache-downloads b/docker/nginx/conf.d/include/proxy-cache-downloads index 1563d44e..b86be869 100644 --- a/docker/nginx/conf.d/include/proxy-cache-downloads +++ b/docker/nginx/conf.d/include/proxy-cache-downloads @@ -11,7 +11,7 @@ add_header X-Proxy-Cache $upstream_cache_status; # add response header to indica # bypass - this will bypass cache hit on request (status BYPASS) # but still stores file in cache if cache conditions are met -proxy_cache_bypass $cookie_nocache $arg_nocache $skyd_disk_cache_enabled; +proxy_cache_bypass $cookie_nocache $arg_nocache "1"; # no cache - this will ignore cache on request (status MISS) # and does not store file in cache under no condition