Limit_conn/limit_req, side effect, need help

In nginx.conf

limit_zone xxxxxx $binary_remote_addr 1M;
limit_req_zone $binary_remote_addr  zone=xxxxxx_freq:1M 


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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs