limit_req is limiting requests outside of location block it is applied to

djeyewater nginx-forum at
Fri Mar 11 13:17:03 UTC 2016

Never mind, Nginx was actually limiting requests correctly.

What I was seeing in my logs was requests for non-existent .js and .css
files, which were then being passed to index.php as per my try_files in the
/ location block.

Posted at Nginx Forum:,265244,265248#msg-265248

More information about the nginx mailing list