Skip to content

Commit

Permalink
[fail2ban docs] add a note that you can test with fail2ban-regex locally
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja authored Dec 23, 2024
1 parent 9638527 commit c5bfc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/nginxplus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ will never actually send us any traffic) for this reason, do not delete this rul

## Testing a fail2ban rule

You can use the `fail2ban-regex` command to test your rule to make sure the regular expression syntax is correct.
You can use the `fail2ban-regex` command to test your rule to make sure the regular expression syntax is correct. You can do this on the box or (if you download a selection of the log files and `brew install fail2ban`) locally. These commands don't ban anyone, they just check your regular expressions for correctness.

To do this:

Expand Down

0 comments on commit c5bfc53

Please sign in to comment.