check the limit_req_module, http://nginx.org/ru/docs/http/ngx_http_limit_req_module.html
our beloved and hugely useful search engines gave this: https://www.nginx.com/blog/rate-limiting-nginx/ it’s not possible to manipulate limits with cli though. br, Aziz. > On 15 Mar 2018, at 09:52, Manali <[email protected]> wrote: > > I want to limit the connections used by nginx using CLI. > > I know that we can set worker connections to different values in nginx conf > file. But no of worker connections will include not only the connections to > the host. It also includes proxy connections too. > > If I want to give user flexibility to limit the connections, user will not > know about proxy connections. > > Is there any flexibility in nginx source code to know whether the connection > established by nginx is to the proxy server or host connections ? > > Can you please help me with this ? > > Let me know if more information is needed. > > Posted at Nginx Forum: > https://forum.nginx.org/read.php?2,279052,279052#msg-279052 > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
