Using naxsi as a "circuit breaker"

I only know the basics of naxsi, but bare with me.

I want to automatically have virtual hosts blocked when they are getting
too many new requests. I can’t find information on solving this
particular problem with it. It might be that naxsi isn’t even the best
solution. I want to define virtual hosts and how many requests they can
have in a second, or some other unit of time.

It would be useful because I run a shared webserver, with quite a few
people using it. I had issues recently with a site leaping into
popularity. This causes resource constraints and lots of 500 internal
errors, breaking the server for other customers. This was not a DDOS


what does naxsi has to do with it? you probably wanted to talk about

naxsi is a 3rd-party-module, extending nginx on WAF-features

four your probkem you might wnat to check



Posted at Nginx Forum: