Add X-Forwarded-For IP address to nginx logs.