请问这样的语句正确不( nginx 控制带宽)

2017-07-29 22:05:13 +08:00
 aliehuhu
搭建了个附件服务器,装的是 lnmp。最近服务器带宽使用量严重超标,影响正常访问。估计是被人采集了。请问图中蓝色框框的语句可以限制采集者的下载速度吗?
文件是:/usr/local/nginx/conf/vhost/域名.conf
我也不知道加的对不对。
1967 次点击
所在节点    Linux
1 条回复
msg7086
2017-07-30 06:07:06 +08:00
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. ****

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/378921

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX