Francis Daly
January 07, 2015 06:48PM
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 how i can use the above exclude list for the limit_conn module also?

You have

> limit_conn_zone $binary_remote_addr zone=alpha:8m;
> limit_req_zone $limit zone=delta:8m rate=60r/s;

and

> limit_conn alpha 20;
> limit_req zone=delta burst=90 nodelay;

Compare http://nginx.org/r/limit_conn_zone with http://nginx.org/r/limit_req_zone


Which part of your "req" config means that you omit some client addresses
from accounting?

What similar "zone" config could you use?

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

limit_conn module exclude also on Maxim Dunin recommended code

ASTRAPI January 04, 2015 09:44AM

Re: limit_conn module exclude also on Maxim Dunin recommended code

Francis Daly January 07, 2015 06:48PM

Re: limit_conn module exclude also on Maxim Dunin recommended code

ASTRAPI January 08, 2015 12:31PM

Re: limit_conn module exclude also on Maxim Dunin recommended code

Francis Daly January 09, 2015 02:42PM

Re: limit_conn module exclude also on Maxim Dunin recommended code

ASTRAPI January 10, 2015 10:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
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