Hi all,
I'm trying to use the NGINX limit_req for my app APIs which has 1 NGINX
+ 4 app. server frontends.
My conf is like the following:
http{
....
limit_req_zone $binary_remote_addr zone=data_zone:10m rate=2r/s;
....
server{
....
location ^~ /data/new/ {
limit_req zone=data_zone burst=5 nodelay;
}
....
But it doesn't work, in fact I'm able to call my API /data/new several
times per second with success...and it isn't a good thing :)
Am I missing something?
Thanks in advance.
Best,
Antonio
--
Antonio Pintus
Technologist
ICT group
CRS4, Center for Advanced Studies, Research and Development in Sardinia
e-mail: pintux@crs4.it
Phone: +39 0709250268
Skype: pintuxskype
CRS4 Home: http://www.crs4.it
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx