Re: limit_conn module exclude also on Maxim Dunin recommended code

2015-01-10 Thread ASTRAPI
Ok thanks! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255949,256027#msg-256027 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: limit_conn module exclude also on Maxim Dunin recommended code

2015-01-09 Thread Francis Daly
On Thu, Jan 08, 2015 at 12:31:23PM -0500, ASTRAPI wrote: Hi there, > Ok with the ip's but i can' figure out how to fix th other problem with > exclude ip's for limit_conn_zone :( I'm confused why you're confused. You originally had limit_conn_zone $binary_remote_addr zone=alpha:8m; limit_r

Re: limit_conn module exclude also on Maxim Dunin recommended code

2015-01-08 Thread ASTRAPI
Thanks for the reply... Ok with the ip's but i can' figure out how to fix th other problem with exclude ip's for limit_conn_zone :( Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255949,256005#msg-256005 ___ nginx mailing list nginx@nginx.or

Re: limit_conn module exclude also on Maxim Dunin recommended code

2015-01-07 Thread Francis Daly
On Sun, Jan 04, 2015 at 09:44:19AM -0500, ASTRAPI wrote: Hi there, > 1)Does nginx realy knows how to exclude ip's in this format .0/21 or i must > use them as 199.27.128.5 for example? http://nginx.org/r/geo > 2)Now i want to use the limit_conn_zone on the above recommendation from <...> > But

limit_conn module exclude also on Maxim Dunin recommended code

2015-01-04 Thread ASTRAPI
Hi I am using this code to limit requests and exclude some ip's" http { limit_req_zone $limit zone=delta:8m rate=60r/s; geo $limited { default 1; 192.168.45.56/32 0; 199.27.128.0/21 0; 173.245.48.0/20 0; } map $limited $limit { 1 $binary_remote_addr; 0 ""; } And this on the domain config: s