mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Merge pull request #236 from itoffshore/alpine
fix fail2ban filter regex
This commit is contained in:
commit
8b40f46bec
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ _daemon = fail2ban\.actions\s*
|
|||
# jail using this filter 'nginxrepeatoffender', or change this line!
|
||||
_jailname = nginxrepeatoffender
|
||||
|
||||
failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .* \S+\" (?:403|444) .+$
|
||||
ignoreregex =
|
||||
failregex = ^<HOST> \- \S+ \[.*\] \"(GET|POST|HEAD) .* \S+\" (?:403|444) .+$
|
||||
ignoreregex = ^<HOST> \- \S+ \[.*\] \"(GET|POST|HEAD) .* \S+\" ?:200 .+$
|
||||
|
||||
[Init]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue