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
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
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
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
You can see it i think here:
http://i59.tinypic.com/20jlrpv.jpg
Or not?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255913,255921#msg-255921
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
http://i59.tinypic.com/20jlrpv.jpg
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,255913,255916#msg-255916
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hi
Thanks for your reply :)
"do you mean mydomain.com forwarding to www.mydomain.com"
No!
I have two domains let's say domain1.com and domain2.com
Both domain files are in public folder of domain1 and the domain2 is using a
folder there named "gadgets"
Now i was set one account for each doma
Hi
On my Nginx server i use a domain "domain.com" and i have all files here:
/home/nginxs/domains/mydomain.com/public
There i have a folder named "gadgets" and i have some files there and i use
a redirect to another domain for this folder.
So if a user types seconddomain.com it goes to the fol
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
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
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.
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
@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
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
16 matches
Mail list logo