limit_conn/limit_req, side effect, need help

GerMalaz nginx-forum at
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.

Posted at Nginx Forum:,56349,56349#msg-56349

More information about the nginx mailing list