log cache key
This commit is contained in:
parent
176e5c7a9d
commit
c9081e9d87
|
@ -474,6 +474,8 @@ server {
|
||||||
end
|
end
|
||||||
ngx.header["Skynet-Skylink"] = ngx.var.skylink_v2
|
ngx.header["Skynet-Skylink"] = ngx.var.skylink_v2
|
||||||
end
|
end
|
||||||
|
|
||||||
|
ngx.header["Cache-Key"] = ngx.var.skylink_v1 .. "+++" .. ngx.var.path .. "+++" .. ngx.var.arg_format .. "+++" .. ngx.var.arg_attachment .. "+++" .. ngx.var.slice_range
|
||||||
}
|
}
|
||||||
|
|
||||||
# register the download in accounts service (cookies should contain jwt)
|
# register the download in accounts service (cookies should contain jwt)
|
||||||
|
|
Reference in New Issue