Skip to content

Commit

Permalink
fix name of conf
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Sep 27, 2023
1 parent 4268518 commit f172f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ while ! [ -f /nextcloud/data/nextcloud.log ]; do
sleep 5
done

cat << FILTER > /etc/fail2ban/filter.d/nextcloud.log
cat << FILTER > /etc/fail2ban/filter.d/nextcloud.conf
[Definition]
_groupsre = (?:(?:,?\s*"\w+":(?:"[^"]+"|\w+))*)
failregex = ^\{%(_groupsre)s,?\s*"remoteAddr":"<HOST>"%(_groupsre)s,?\s*"message":"Login failed:
Expand Down

0 comments on commit f172f16

Please sign in to comment.