mirror of https://github.com/fail2ban/fail2ban
Updated Proper fail2ban configuration (markdown)
parent
dcbdf01e35
commit
fb76fd768f
|
@ -36,7 +36,7 @@ But value of parameter `logpath` in `section2` will be changed to `/my-path/to/l
|
|||
|
||||
**[A]** You should create a `jail.local` file and at least enable there corresponding jails (all jails are disabled by default) resp. overwrite there all the settings you've different from normally stock installation, or even create your own jails (and/or) filters, that are not available in default configuration of the fail2ban distribution.
|
||||
|
||||
For example if you'll, that fail2ban should ban authorization failures occurred in sshd and nginx, but the `error.log` of your your nginx-instance is configured as `/var/log/my-nginx/error.log` you should set also parameter `logpath` additionally to `enabled` in section `[nginx]`.
|
||||
For example if your intention is to monitor authorization failures occurred in sshd and nginx, but the `error.log` of your your nginx-instance is configured as `/var/log/my-nginx/error.log` you should set also parameter `logpath` additionally to `enabled` in section `[nginx]`.
|
||||
|
||||
So your `jail.local` looks like:
|
||||
```ini
|
||||
|
|
Loading…
Reference in New Issue