test streaming

This commit is contained in:
Karol Wypchlo 2022-03-10 12:35:55 +01:00
parent dca037a5d1
commit daa6ef9917
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 0 additions and 6 deletions

View File

@ -56,12 +56,6 @@ access_by_lua_block {
if require("skynet.blocklist").is_blocked(ngx.var.skylink_v1) then if require("skynet.blocklist").is_blocked(ngx.var.skylink_v1) then
return require("skynet.blocklist").exit_illegal() return require("skynet.blocklist").exit_illegal()
end 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 end
if require("skynet.account").accounts_enabled() then if require("skynet.account").accounts_enabled() then