Possible to have a limit_req "nodelay burst" option?

Yumi nginx-forum at nginx.us
Tue Jun 17 00:31:43 UTC 2014


+1 to the idea.

Maybe something like:
limit_req one burst=10 nodelay=5; # first 5 'bursts' don't have a delay, the
next 5 do

I haven't tried, but I suspect this doesn't do the desired thing:
limit_req one burst=10;
limit_req one burst=5 nodelay;

(I'm guessing that the first directive above essentially overrides the
second for the first 5, then the second directive overrides the first after
that)

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238389,250902#msg-250902



More information about the nginx mailing list