Update jail.local
This commit is contained in:
parent
f714f3bc43
commit
1a923a93ab
|
|
@ -84,7 +84,7 @@ bantime = 3600
|
||||||
|
|
||||||
[nginx-dos]
|
[nginx-dos]
|
||||||
# Based on apache-badbots but a simple IP check (any IP requesting more than
|
# Based on apache-badbots but a simple IP check (any IP requesting more than
|
||||||
# 240 pages in 60 seconds, or 4p/s average, is suspicious)
|
# 300 pages in 60 seconds, or 5p/s average, is suspicious)
|
||||||
# Block for two full days.
|
# Block for two full days.
|
||||||
enabled = false
|
enabled = false
|
||||||
port = 80,443
|
port = 80,443
|
||||||
|
|
@ -92,6 +92,6 @@ protocol = tcp
|
||||||
filter = nginx-dos
|
filter = nginx-dos
|
||||||
logpath = /var/log/nginx/access*.log
|
logpath = /var/log/nginx/access*.log
|
||||||
findtime = 60
|
findtime = 60
|
||||||
maxretry = 240
|
maxretry = 300
|
||||||
banaction = pf
|
banaction = pf
|
||||||
bantime = 86400
|
bantime = 86400
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue