This commit is contained in:
Ivaylo Novakov 2022-03-14 17:55:12 +01:00
parent c4dc3222b2
commit 0e793f3456
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,8 @@ access_by_lua_block {
### end ### end
header_filter_by_lua_block { header_filter_by_lua_block {
}
### ngx.header["Skynet-Portal-Api"] = ngx.var.scheme .. "://" .. ngx.var.skynet_portal_domain ### ngx.header["Skynet-Portal-Api"] = ngx.var.scheme .. "://" .. ngx.var.skynet_portal_domain
### ngx.header["Skynet-Server-Api"] = ngx.var.scheme .. "://" .. ngx.var.skynet_server_domain ### ngx.header["Skynet-Server-Api"] = ngx.var.scheme .. "://" .. ngx.var.skynet_server_domain
### ###
@ -104,7 +106,6 @@ header_filter_by_lua_block {
### ngx.shared.nocache:set(ngx.var.skylink_v1, ngx.header["Content-Length"]) ### ngx.shared.nocache:set(ngx.var.skylink_v1, ngx.header["Content-Length"])
### end ### end
### end ### end
}
limit_rate_after 512k; limit_rate_after 512k;
limit_rate $limit_rate; limit_rate $limit_rate;