summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-06-05 20:27:00 +0200
committerSilas Schöffel <sils@sils.li>2024-06-05 20:27:00 +0200
commitde89fa04c792573118043ba2617fbe7566a5c5a6 (patch)
tree3bb452e5540435f2fa93e9b913371b1f7f30fe71
parentfix(git-server): enable SSL for cgit (diff)
downloadnixos-server-de89fa04c792573118043ba2617fbe7566a5c5a6.tar.gz
nixos-server-de89fa04c792573118043ba2617fbe7566a5c5a6.zip
fix(fail2ban): increase max retry number to 7
Diffstat (limited to '')
-rw-r--r--system/services/fail2ban/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/services/fail2ban/default.nix b/system/services/fail2ban/default.nix
index 6d90d49..f1487e4 100644
--- a/system/services/fail2ban/default.nix
+++ b/system/services/fail2ban/default.nix
@@ -1,7 +1,7 @@
 {...}: {
   services.fail2ban = {
     enable = true;
-    maxretry = 2; # ban after 2 failures
+    maxretry = 7; # ban after 7 failures
     daemonSettings = {
       Definition = {
         logtarget = "SYSLOG";