技术解析

请问这样的语句正确不( nginx 控制带宽)
0
2021-06-29 11:07:32
idczone
搭建了个附件服务器,装的是 lnmp。最近服务器带宽使用量严重超标,影响正常访问。估计是被人采集了。请问图中蓝色框框的语句可以限制采集者的下载速度吗?
文件是:/usr/local/nginx/conf/vhost/域名.conf
我也不知道加的对不对。

Limits the rate of response transmission to a client. The rate is specified in bytes per second. The zero value disables rate limiting. ****The limit is set per a request, and so if a client simultaneously opens two connections, the overall rate will be twice as much as the specified limit. ****

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服