From daa6ef991751cfd622630389fbf5fbbdb45fa426 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 10 Mar 2022 12:35:55 +0100 Subject: [PATCH] test streaming --- docker/nginx/conf.d/include/location-skylink | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docker/nginx/conf.d/include/location-skylink b/docker/nginx/conf.d/include/location-skylink index 46989d07..8fae7953 100644 --- a/docker/nginx/conf.d/include/location-skylink +++ b/docker/nginx/conf.d/include/location-skylink @@ -56,12 +56,6 @@ access_by_lua_block { if require("skynet.blocklist").is_blocked(ngx.var.skylink_v1) then return require("skynet.blocklist").exit_illegal() end - - -- if skylink is found on nocache list then set internal nocache variable - -- to tell nginx that it should not try and cache this file (too large) - if ngx.shared.nocache:get(ngx.var.skylink_v1) then - ngx.var.nocache = "1" - end end if require("skynet.account").accounts_enabled() then