Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: How to Test ngx_http_limit_req_module

$
0
0
In sticking with what appears to be tradition at this forum, I'll answer my own question.

First, kudos to some helpful folks over a stackoverflow for helping me understand what the nginx documentation didn't. Not that there's anything wrong with the documentation...

The piece I was missing was the statement in the server block (may also be a location block) that I wanted request-limited:

server {
# stuff
limit_req zone=one;
#things
# etc., etc.

Adding this line (in addition to what I had already placed in my http block) results in the expected behavior from ngx_http_limit_req_module.

I hope this helps someone else,

steady

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>