nocache=1

This commit is contained in:
Ivaylo Novakov 2022-03-14 14:39:02 +01:00
parent 5eb41d7762
commit 08c0d35a1e
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 3 additions and 0 deletions

View File

@ -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