server: gitea: fail2ban fix
This commit is contained in:
@@ -116,14 +116,15 @@
|
||||
fail2ban = {
|
||||
enable = true;
|
||||
maxretry = 5;
|
||||
extraSettings = {
|
||||
findtime = "15m";
|
||||
bantime = "1h";
|
||||
};
|
||||
jails = {
|
||||
gitea = ''
|
||||
enabled = true
|
||||
filter = gitea
|
||||
backend = systemd
|
||||
maxretry = 10
|
||||
findtime = 3600
|
||||
bantime = 900
|
||||
action = iptables-allports
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user