I have some rules setup in nginx to deny access by IPs. This works great, but for each request from a denied IP, an error that starts with the following gets logged:
[error] 7325#0: *5761 access forbidden by rule, client...
Is there a way to suppress these "errors" from being logged?
You can set error_log to less strict level, but you can lost important alerts in this case.
Core functionality - error_log
error_log filename crit;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With