proxy_set_header X-Forwarded-For $remote_addr;
in the server section of your Nginx configuration file. Try to google how to use the 'X-Forwarded-For' parameter in some Nginx configuration examples.
Hope it helps, Maurizio