diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 4212a813..23d08364 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -474,6 +474,8 @@ server { end 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 } # register the download in accounts service (cookies should contain jwt)