V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
aliehuhu
V2EX  ›  Linux

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

  •  
  •   aliehuhu · Jul 29, 2017 · 2469 views
    This topic created in 3199 days ago, the information mentioned may be changed or developed.
    搭建了个附件服务器,装的是 lnmp。最近服务器带宽使用量严重超标,影响正常访问。估计是被人采集了。请问图中蓝色框框的语句可以限制采集者的下载速度吗?
    文件是:/usr/local/nginx/conf/vhost/域名.conf
    我也不知道加的对不对。
    1 replies    2017-07-30 06:07:06 +08:00
    msg7086
        1
    msg7086  
       Jul 30, 2017
    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. ****
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2479 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:43 · PVG 16:43 · LAX 01:43 · JFK 04:43
    ♥ Do have faith in what you're doing.