Rate Limiting With nginx

Posted by falko on Oct 31, 2012 5:45 AM
By HowtoForge
Mail this story
Web version

This article explains how to use the nginx HttpLimitReqModule to limit the number of requests for a given session. This is useful, for example, if your site is hammered by a bot doing multiple requests per second and thus increasing your server load. With the HttpLimitReqModule you can define a rate limit, and if a visitor exceeds this rate, he will get a 503 error.

This article explains how to [url=http://www.howtoforge.com/rate-limiting-with-nginx]use the nginx HttpLimitReqModule to limit the number of requests for a given session[/url]. This is useful, for example, if your site is hammered by a bot doing multiple requests per second and thus increasing your server load. With the HttpLimitReqModule you can define a rate limit, and if a visitor exceeds this rate, he will get a 503 error. [url=http://www.howtoforge.com/rate-limiting-with-nginx]http://www.howtoforge.com/rate-limiting-with-nginx[/url]

Full Story

Printed at http://lxer.com/module/newswire/view/175763/index.html