Limit_req does not work

Nginx 1.1.15 does not block request if I use “try_files”. This is my
markup (simplified):

http {
limit_req_zone $binary_remote_addr zone=zone1:32m rate=2r/s;
limit_req_zone $binary_remote_addr zone=zone2:32m rate=12r/m;
server {
location @backend {
limit_req zone=zone1 burst=10;
limit_req zone=zone2 burst=100 nodelay;
location / {
try_files $uri @backend;
expires max;

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


On Wed, Feb 22, 2012 at 03:16:15PM -0500, double wrote:

        limit_req zone=zone2 burst=100 nodelay;

You may want to test again, the above works without any problems

Maxim D.

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