Welcome! Log In Create A New Profile

Advanced

bandwidth limit for specific server

huiming
December 18, 2021 04:58AM
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_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

bandwidth limit for specific server

huiming December 18, 2021 04:58AM

Re: bandwidth limit for specific server

Francis Daly December 22, 2021 06:48PM

Re: bandwidth limit for specific server

huiming December 23, 2021 01:16AM

Re: bandwidth limit for specific server

Francis Daly December 24, 2021 08:24AM

Re: bandwidth limit for specific server

Nicolas Franck December 24, 2021 09:28AM

Re: bandwidth limit for specific server

Paul December 24, 2021 11:44AM

different ssl_cerficate/ssl_cerficate_key pair for different $host in same server directive

huiming via nginx March 09, 2022 07:46AM

Re: different ssl_cerficate/ssl_cerficate_key pair for different $host in same server directive

Rainer Duffner March 09, 2022 01:30PM

Re: different ssl_cerficate/ssl_cerficate_key pair for different $host in same server directive

huiming via nginx March 09, 2022 09:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready