V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
aliehuhu
V2EX  ›  Linux

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

  •  
  •   aliehuhu · 2017-07-29 22:05:13 +08:00 · 1962 次点击
    这是一个创建于 2452 天前的主题,其中的信息可能已经有所发展或是发生改变。
    搭建了个附件服务器,装的是 lnmp。最近服务器带宽使用量严重超标,影响正常访问。估计是被人采集了。请问图中蓝色框框的语句可以限制采集者的下载速度吗?
    文件是:/usr/local/nginx/conf/vhost/域名.conf
    我也不知道加的对不对。
    1 条回复    2017-07-30 06:07:06 +08:00
    msg7086
        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. ****
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5091 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:45 · PVG 17:45 · LAX 02:45 · JFK 05:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.