feat(fail2ban): cleanup unused jails and add nginx-unified config

This commit is contained in:
João Pedro Toledo Goncalves 2026-02-05 14:37:47 -03:00
parent 74b1f3892d
commit 61a4fce622
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
[nginx-limit-req]
enabled = true
port = http,https
filter = nginx-limit-req
logpath = /var/log/nginx/*.error.log
maxretry = 1
[nginx-badbots]
enabled = true
port = http,https
filter = apache-badbots
logpath = /var/log/nginx/*.access.log
maxretry = 2
[nginx-deny]
enabled = true
port = http,https
filter = nginx-deny
logpath = /var/log/nginx/*.error.log
maxretry = 1
[nginx-unauthorized]
enabled = true
port = http,https
filter = nginx-unauthorized
logpath = /var/log/nginx/*.access.log
maxretry = 3
[nginx-bad-request]
enabled = true
port = http,https
filter = nginx-bad-request
logpath = /var/log/nginx/*.error.log
maxretry = 1