Search in config for X-Forward
no. with this setting you direct nginx where to look for real client IP (in case its another proxy in front of nginx). nginx already sends real client IP with X-Forwarded-For header.you just need to enable this field on upstream log
proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;