Skip to content

Commit

Permalink
[fail2ban docs] add a note that you can test with fail2ban-regex loca…
Browse files Browse the repository at this point in the history
…lly (#5662)
  • Loading branch information
sandbergja authored Dec 24, 2024
1 parent 1ecd4b2 commit dbeda4f
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 dbeda4f

Please sign in to comment.