Scalingo/nginx-buildpack

limit_req_zone statement in http block for DOS protection

Closed this issue · 1 comments

Hi!

We would like to introduce nginx rate limiting to our load balancer. According to the docs the necessary limit_req_zone statement can only be applied in a http context while the actual usage of the zone through the limit_req statement can be used inside server and location blocks.

Do you have any suggestions how this could be implemented?

Such thing is possible in the dev branch, the README explains how to add http leveled instructions.

https://github.com/Scalingo/nginx-buildpack/tree/dev

The dev branch will be merged into master at some point.