log cache key

This commit is contained in:
Karol Wypchlo 2021-06-01 12:36:08 +02:00
parent c9081e9d87
commit 9c4f9c8300
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ server {
ngx.header["Skynet-Skylink"] = ngx.var.skylink_v2
end
ngx.header["Cache-Key"] = ngx.var.skylink_v1 .. "+++" .. ngx.var.path .. "+++" .. ngx.var.arg_format .. "+++" .. ngx.var.arg_attachment .. "+++" .. ngx.var.slice_range
ngx.header["Cache-Key"] = ngx.var.skylink_v1 .. "+++" .. ngx.var.path
}
# register the download in accounts service (cookies should contain jwt)