limit_conn/limit_req, side effect, need help
GerMalaz
nginx-forum at nginx.us
Tue Feb 23 11:36:29 MSK 2010
In nginx.conf
limit_zone xxxxxx $binary_remote_addr 1M;
limit_req_zone $binary_remote_addr zone=xxxxxx_freq:1M rate=30r/m;
In site definition
limit_conn xxxxxx 3;
limit_req zone=xxxxxx_freq burst=1 nodelay;
First connection usually gets a 503, subsequent ones work.
First connection usually refers to a dir without / final, then another with / is requested, then dir/index.php.
Any help will be appreciated.
Thanks,
Gerardo
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,56349,56349#msg-56349
More information about the nginx
mailing list