Log Files admin page

Hello,
when i have a wrong login on the normal loging i get this
vaultwarden::api::identity][ERROR] Username or password is incorrect. Try again.
when i have a wrong login on the admin page i get this
vaultwarden::api::admin][ERROR] Invalid admin token
][WARN] Request guard AdminToken is forwarding.#015

now i have the problem, to get the jail for fail to ban working.

What is wrong?

What is wrong is hard to tell, since you have provided no configuration at all.

Normally you would configure fail2ban on the reverse proxy side for this which could catch a 401 error for example.

For the admin this wasn’t possible before, but it recently has been changed to report a 401 on invalid logins.

I would try to configure it on the reverse proxy instead of Vaultwarden it self.