Replying to a message from: Tommy

I am trying to config the xeams web behind nginx,as nginx is easy to block access IP,block sql injection and other.

All are working well,but the only issue is that,xeams can not get the real ip when web login fail. 

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

At the InvalidPasswordAttempts.log,it is always 127.0.0.1

Incorrect password attempted. IP Address: 127.0.0.1. Source: Http Server. Attempt number 1. Login:admin