Nginx-0.48.1 cannot obtain the user's real IP address

After updating to Ranger 2.6, using nginx-0.48.1, some nodes can obtain the real IP after setting x-forward-for, and some obtain the wrong IP, such as 10.42.9.1