Remove non helpful comments
This commit is contained in:
parent
9ddab7b706
commit
c03a508586
1 changed files with 0 additions and 6 deletions
|
@ -131,9 +131,6 @@ in
|
||||||
services.fail2ban.jails = {
|
services.fail2ban.jails = {
|
||||||
nginx-botsearch = {
|
nginx-botsearch = {
|
||||||
settings = {
|
settings = {
|
||||||
# Block an IP address if it accesses a non-existent
|
|
||||||
# home directory more than 5 times in 10 minutes,
|
|
||||||
# since that indicates that it's scanning.
|
|
||||||
filter = "nginx-botsearch";
|
filter = "nginx-botsearch";
|
||||||
action = ''${config.services.fail2ban.banaction}[name=HTTP, port="http,https"]'';
|
action = ''${config.services.fail2ban.banaction}[name=HTTP, port="http,https"]'';
|
||||||
logpath = "/var/log/nginx/access.log";
|
logpath = "/var/log/nginx/access.log";
|
||||||
|
@ -144,9 +141,6 @@ in
|
||||||
};
|
};
|
||||||
nginx-bad-request = {
|
nginx-bad-request = {
|
||||||
settings = {
|
settings = {
|
||||||
# Block an IP address if it accesses a non-existent
|
|
||||||
# home directory more than 5 times in 10 minutes,
|
|
||||||
# since that indicates that it's scanning.
|
|
||||||
filter = "nginx-bad-request";
|
filter = "nginx-bad-request";
|
||||||
action = ''${config.services.fail2ban.banaction}[name=HTTP, port="http,https"]'';
|
action = ''${config.services.fail2ban.banaction}[name=HTTP, port="http,https"]'';
|
||||||
logpath = "/var/log/nginx/access.log";
|
logpath = "/var/log/nginx/access.log";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue