mirror of
https://github.com/dani-garcia/bitwarden_rs
synced 2024-11-25 11:20:04 +01:00
Added instruction for using systemd-journal for fail2ban.
parent
d24082192f
commit
2f1c0b31f3
@ -161,6 +161,13 @@ Do not use this if you use a reverse proxy before Docker container. If proxy, li
|
||||
**NOTE on the NOTE above**:
|
||||
That's at least not true for running on Docker (CentOS 7) with caddy as reverse proxy. `chain=FORWARD` is absolutely fine and working with caddy as reverse proxy.
|
||||
|
||||
**Tip**:If you are using systemd to manage vaultwarden, you can use systemd-journal for fail2ban:
|
||||
```
|
||||
backend = systemd
|
||||
filter = vaultwarden[journalmatch='_SYSTEMD_UNIT=your_vaultwarden.service']
|
||||
```
|
||||
Use these instead of `logpath = ` variable.
|
||||
|
||||
**NOTE FOR CLOUDFLARE USERS**
|
||||
If you use cloudflare proxy, you'll need to add Cloudflare in your actions list, like in [this guide](https://niksec.com/using-fail2ban-with-cloudflare/)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user