From 40cb95f33af7f209e839b06df2591c645e132511 Mon Sep 17 00:00:00 2001 From: opi Date: Sat, 17 Dec 2016 15:26:50 +0100 Subject: [PATCH] [enh] Increase fail2ban maxretry on user login, narrow nginx log files We're intended to a general public, after all ;) --- data/templates/fail2ban/jail.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/templates/fail2ban/jail.conf b/data/templates/fail2ban/jail.conf index 59dcf51df..d34763e48 100644 --- a/data/templates/fail2ban/jail.conf +++ b/data/templates/fail2ban/jail.conf @@ -581,4 +581,5 @@ enabled = true port = http,https protocol = tcp filter = yunohost -logpath = /var/log/nginx/*.log +logpath = /var/log/nginx*/*error.log +maxretry = 6