Limit reqs per user / bot

B.R. reallfqq-nginx at yahoo.fr
Fri Jan 8 20:03:50 UTC 2016


You should use limit_conn
<http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html#limit_conn>
in conjunction with limit_req
<http://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req>.
They are supplementing each other.
---
*B. R.*

On Fri, Jan 8, 2016 at 8:52 PM, djeyewater <nginx-forum at forum.nginx.org>
wrote:

> itpp2012 Wrote:
> -------------------------------------------------------
> > No because one user (web browser) can easily open 20 or more
> > simultaneous connections to get a better web response.
> > A bot might be less prone to do the same but most connect at about 5
> > simultaneous connections.
>
>
> The limit_req will only be used for requests to dynamic pages, so there
> should only be one connection per user at a time.
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,263891,263907#msg-263907
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160108/ba5343ba/attachment.html>


More information about the nginx mailing list