title: nginx how to get the request client ipaddress
body: <p>I have ngnix proxying to a nodejs server. I am trying to read the request client ip address/host name in my nodejs, but it's always </p>
  
  <pre><code>::ffff:127.0.0.1
  </code></pre>
  
  <p>But in my nginx access log, I can see the client ip address printed, not sure why my nodejs server can't get it.</p>
  
  <pre><code>x.x.x.x - - [24/Aug/2017:14:28:01 -0700] "GET ...."
  </code></pre>