mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-01-16 20:50:33 +00:00
Added instruction for using systemd-journal for fail2ban.
@@ -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/)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user