<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">You should use <a href="http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html#limit_conn">limit_conn</a> in conjunction with <a href="http://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req">limit_req</a>.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">They are supplementing each other.<br></div><div class="gmail_extra"><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Fri, Jan 8, 2016 at 8:52 PM, djeyewater <span dir="ltr"><<a href="mailto:nginx-forum@forum.nginx.org" target="_blank">nginx-forum@forum.nginx.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">itpp2012 Wrote:<br>
-------------------------------------------------------<br>
<span class="">> No because one user (web browser) can easily open 20 or more<br>
> simultaneous connections to get a better web response.<br>
> A bot might be less prone to do the same but most connect at about 5<br>
> simultaneous connections.<br>
<br>
<br>
</span>The limit_req will only be used for requests to dynamic pages, so there<br>
should only be one connection per user at a time.<br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,263891,263907#msg-263907" rel="noreferrer" target="_blank">https://forum.nginx.org/read.php?2,263891,263907#msg-263907</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div></div>