fail2ban nginx-botsearch
This commit is contained in:
parent
6582e62fc6
commit
cce83b0c08
1 changed files with 10 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
enable = true;
|
||||
maxretry = 5;
|
||||
ignoreIP = [
|
||||
"86.173.148.116"
|
||||
];
|
||||
bantime-increment = {
|
||||
enable = true;
|
||||
|
@ -29,6 +30,15 @@
|
|||
bantime = 600;
|
||||
maxretry = 10;
|
||||
};
|
||||
nginx-botsearch.settings = {
|
||||
filter = "nginx-botsearch";
|
||||
action = "iptables-allports";
|
||||
logpath = "/var/log/nginx/access.log";
|
||||
backend = "auto";
|
||||
findtime = 600;
|
||||
bantime = 86400;
|
||||
maxretry = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue