From 08c0d35a1e8da882f0234c52b31b346015597891 Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Mon, 14 Mar 2022 14:39:02 +0100 Subject: [PATCH] nocache=1 --- docker/nginx/conf.d/include/location-skylink | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/nginx/conf.d/include/location-skylink b/docker/nginx/conf.d/include/location-skylink index 688360dc..f3fda98b 100644 --- a/docker/nginx/conf.d/include/location-skylink +++ b/docker/nginx/conf.d/include/location-skylink @@ -24,6 +24,9 @@ set $skynet_proof ''; # default download rate to unlimited set $limit_rate 0; +# use this nocache in place of the proxy-cache-downloads +set $nocache "1"; + access_by_lua_block { -- the block below only makes sense if we are using nginx cache if not ngx.var.skyd_disk_cache_enabled then