NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.32k stars 2.7k forks source link

No Logging: Invalid password or No relevant user found #4111

Open wforumw opened 1 month ago

wforumw commented 1 month ago

Discussed in https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/4096

Originally posted by **wforumw** October 21, 2024 Hi, We use fail2ban to block unwanted IP's. When an IP is blocked by a rule it is logged in NPM log files like `[error] 208#208: *1046 access forbidden by rule, client: x.x.x.x, server: npmservr, request: "GET /api/ HTTP/2.0", host: "npmservr", referrer: "npmservr"` so it is easy to filter these by fail2ban. Now when a login is unauthorized, on the website we get `Invalid password` or `No relevant user found` but nothing is logged in the NPM log files. Is there a way to get these logged also? Thanks!