bandwidth limit for specific server
huiming
877509395 at qq.com
Sat Dec 18 05:37:11 UTC 2021
Hi,
Is it possible to limit total bandwidth for server?
http {
include mime.types;
default_type application/octet-stream;
#access_log /usr/local/nginx/logs/access.log main;
access_log off;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 1;
client_max_body_size 50m;
gzip on;
server_tokens off;
server {
listen 443 ssl;
server_name x.x.x.x.x;
is it possible to limit total bandwidth for this server to for example 5M ? not to limit TCP connection bandwidth. need total bandwidth.
location / {
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
include /usr/local/nginx/clientcfg/*.conf;
}
thanks in advance.
huiming
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20211218/8d5a9697/attachment.htm>
More information about the nginx
mailing list