Everything works fine except the remote address at “Failed login attempt” of error.log.
The “Failed login attempt” shows the ip address of internal docker network, for example 172.18.0.3.
Here I want to see the remote address to get fail2ban working.
Changing the ngnix access_log log format, helps to get correct remote addresses in the access.log but not at the error.log.
There is no option to set the ngnix error_log log format.
Because the error log entry of “Failed login attempt” is from tt-rss, I think only tt-rss can set the correct remote address?
Please help me to get fail2ban working.