Update Fail2ban configuration for nginx: increase maxretry from 20 to 50 in nginx-4xx jail to enhance security measures against repeated offenses.
This commit is contained in:
@@ -47,7 +47,7 @@ filter = nginx-4xx
|
||||
logpath = /data/nginx-logs/access_json.log
|
||||
port = 80,443,3000
|
||||
findtime = 5m
|
||||
maxretry = 20
|
||||
maxretry = 50
|
||||
bantime = 15m
|
||||
|
||||
# -----------------------------
|
||||
|
||||
Reference in New Issue
Block a user