I'd suggest the online guides on anti-DDoSing for NGINX. They cover limiting 
the number of connections, etc. Of course in reality these schemes would just 
limit some some kid in the basement from flooding your server rather than a 
real DDoS attack. But better than nothing, plus what is in those guides is 
effective for taming aggressive download managers that try to open multiple 
connections. 


  Original Message  
From: Peter Booth
Sent: Tuesday, July 4, 2017 9:56 AM
To: [email protected]
Reply To: [email protected]
Subject: Re: Nginx Tuning

What is your ultimate goal here? What are you wanting to prevent?

Sent from my iPhone

> On Jul 4, 2017, at 4:01 AM, guruprasads <[email protected]> wrote:
> 
> Hi,
> 
> I am trying to tune nginx server.
> I want to restrict number of client connection per server and restrict
> bandwidth.
> I tried 
> worker_connections 2; 
> for max connections in nginx.conf file. 
> but its connecting only after worker_connection value set to 7.
> 
> my conf file look like below.
> 
> user nginx;
> worker_processes auto;
> error_log /var/log/nginx/error.log;
> pid /run/nginx.pid;
> 
> # Load dynamic modules. See /usr/share/nginx/README.dynamic.
> include /usr/share/nginx/modules/*.conf;
> 
> events {
> worker_connections 7;
> }
> 
> thanks.
> 
> Posted at Nginx Forum: 
> https://forum.nginx.org/read.php?2,275276,275276#msg-275276
> 
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to