Welcome! Log In Create A New Profile

Advanced

deny vs limit_req

Webert de Souza Lima
July 09, 2019 03:42AM
Hi,

I have a few `deny` rules set in global scope, sometimes I add spammers
there to block annoying attacks.

I also have a couple of `limit_req` rules in global scope, and 1 in a local
scope, that is more restrictive and I put it inside a `location` directive.

Last time an attack happened the limit_req was kicking in for this location
but after I put the IP addr on the `deny` rules it didn't do anything.

So my question is: is this a matter of precedence?
The limit_req inside a location would suppress any global deny rules?


Thanks

Regards,

Webert Lima
*Belo Horizonte - Brasil*
*IRC NICK - WebertRLZ*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

deny vs limit_req

Webert de Souza Lima July 09, 2019 03:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 179
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready