Ok all done fixed !
Thanks :)
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255697,255947#msg-255947
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Anyone please?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255697,255857#msg-255857
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
My english is not so good and sometimes is hard for me sorry :(
So as the goal is to limit globaly the maximum connections from one ip to 15
and to have 40 requests per ip and burst up to 80 requests per second it
should be like this?
Main nginx conf:
http {
limit_req_zone $limit zone=foo:1m r
Hello!
On Wed, Dec 24, 2014 at 02:36:50PM -0500, ASTRAPI wrote:
> Thanks for your reply Maxim Dounin
>
> So something like this ? :
>
> Main nginx conf:
>
> http {
>
> geo $limited {
> default 1;
> 192.168.45.56/32 0;
> 199.27.128.0/21 0;
> 173.
Thanks for your reply Maxim Dounin
So something like this ? :
Main nginx conf:
http {
geo $limited {
default 1;
192.168.45.56/32 0;
199.27.128.0/21 0;
173.245.48.0/20 0;
103.21.244.0/22 0;
103.22.200.0/22 0;
103.31.4.0/2
Hello!
On Wed, Dec 24, 2014 at 09:01:09AM -0500, ASTRAPI wrote:
> Anyone please?
An example of how to whitelist addresses from limit_req can be
found in the mailing list archives, for example here:
http://mailman.nginx.org/pipermail/nginx/2012-July/034790.html
Documentation on directives used
Anyone please?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255697,255773#msg-255773
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Thanks for your reply B.R
Not very clear yet as my english is not good at all :(
Can you please try to post:
What i must add to main nginx config at:
http { ?
and what to add to the nginx domain config file at:
server { ?
Cloudflare ip's that i want to exclude:
199.27.128.0/21
173.245.48.
I am highly suspicious about the content found at the address pointed by
the link provided by mex.
Unless I am mistaken, the variable filled by the geo module is not used
anywhere else... thus I guess the limiting works OK, but the 'white-list'
feature probably does not work, as it was expected/adv
Thanks for your replies but i am confused now :(
Can anyone please try to post:
What i must add to main nginx config at:
http { ?
and what to add to the nginx domain config file at:
server {?
Target is to have connections limit per ip 20 and requests limits per ip to
40 and reques
On Sat, Dec 20, 2014 at 06:18:03PM -0500, ASTRAPI wrote:
Hi there,
> limit_conn_zone $binary_remote_addr zone=alpha:8m;
> limit_req_zone $binary_remote_addr zone=delta:8m rate=40r/s;
> limit_conn alpha 5;
> limit_req zone=delta burst=80 nodelay;
> Now i want to exclude Cloudflare ip's from this
@mex
Yes it seems that it will help me :)
But on the code he is not using limit_conn_zone at all
My code:
http{
limit_req_zone $binary_remote_addr zone=delta:8m rate=30r/s;
limit_conn_zone $binary_remote_addr zone=alpha:8m;
New code:
http{
limit_req_zone $binary_remote_ad
limit_conn_zone $binary_remote_addr zone=alpha:8m;
limit_req_zone $binary_remote_addr zone=delta:8m rate=40r/s;
Domain nginx conf:
limit_conn alpha 5;
limit_req zone=delta burst=80 nodelay;
So a user can create only 5 connections per ip and can have 40
requests with a burst up to 80 connecti
hi,
does this link helps?
>
http://gadelkareem.com/2012/03/25/limit-requests-per-ip-on-nginx-using-httplimitzonemodule-and-httplimitreqmodule-except-whitelist/
cheers,
mex
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255697,255703#msg-255703
__
Hi
I am using this code to limit connections from ip's :
Main nginx config:
limit_conn_zone $binary_remote_addr zone=alpha:8m;
limit_req_zone $binary_remote_addr zone=delta:8m rate=40r/s;
Domain nginx conf:
limit_conn alpha 5;
limit_req zone=delta burst=80 nodelay;
So a user can create only
15 matches
Mail list logo