From ab279d9c6b717ec5317ed3854b43e4ef5e8e2143 Mon Sep 17 00:00:00 2001 From: zimo2001 Date: Sat, 17 Dec 2016 00:19:53 +0200 Subject: [PATCH] Update yunohost.conf In my nginx_error.log, the authentication errors are "helpers.lua", not "access.lua". --- data/templates/fail2ban/yunohost.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/fail2ban/yunohost.conf b/data/templates/fail2ban/yunohost.conf index 54d4a779f..3ca8f1c8f 100644 --- a/data/templates/fail2ban/yunohost.conf +++ b/data/templates/fail2ban/yunohost.conf @@ -14,7 +14,7 @@ # (?:::f{4,6}:)?(?P[\w\-.^_]+) # Values: TEXT # -failregex = access.lua:[1-9]+: authenticate\(\): Connection failed for: .*, client: +failregex = helpers.lua:[1-9]+: authenticate\(\): Connection failed for: .*, client: ^ -.*\"POST /yunohost/api/login HTTP/1.1\" 401 22 # Option: ignoreregex