GitHub linguist .yml, fail2ban config fixes
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
[nginx-limit-req]
|
||||
enabled = true
|
||||
port = http,https
|
||||
logpath = %(nginx_error_log)s
|
||||
findtime = 600
|
||||
bantime = 1w
|
||||
maxretry = 8
|
||||
ignoreip = 127.0.0.1/32 192.168.1.0/24
|
||||
|
||||
[nginx-http-auth]
|
||||
enabled = true
|
||||
@@ -11,10 +13,12 @@ port = http,https
|
||||
logpath = %(nginx_error_log)s
|
||||
bantime = 2w
|
||||
maxretry = 5
|
||||
ignoreip = 127.0.0.1/32 192.168.1.0/24
|
||||
|
||||
[nginx-botsearch]
|
||||
enabled = true
|
||||
port = http,https
|
||||
logpath = %(nginx_error_log)s
|
||||
logpath = %(nginx_access_log)s
|
||||
bantime = 1w
|
||||
maxretry = 5
|
||||
ignoreip = 127.0.0.1/32 192.168.1.0/24
|
||||
|
||||
@@ -6,5 +6,5 @@ backend = systemd
|
||||
maxretry = 5
|
||||
findtime = 1d
|
||||
bantime = 2w
|
||||
ignoreip = 127.0.0.1/8 192.168.1.0/24
|
||||
ignoreip = 127.0.0.1/32 192.168.1.0/24
|
||||
logpath = %(sshd_log)s
|
||||
|
||||
Reference in New Issue
Block a user