We are testing one Wordpress website (Nginx) behind a Nginx proxy. Website works with Wordfence (6.1.10) but backoffice doesn't. We can login but the request ends in 504 Gateway Time-out after about a minute.
After reading the docs we have _SERVER["REMOTE_ADDR"], _SERVER["HTTP_X_REAL_IP"] and _SERVER["HTTP_X_FORWARDED_FOR"] all giving the real ip address of visitor.
If we disable Wordfence we can login to the backoffice without any problems.