Hi i am trying to get the client IP address in django. My webserver is Nginx. so i am doing this in my nginx conf 

fastcgi\_param REMOTE\_ADDR $remote\_addr;

fastcgi\_param X\_FORWADRD\_FOR $proxy\_add\_x\_forwarded\_for;

The problem is i have 4 server under a loadbalancer and when i call a site using a domain i get the ip of the server when using this(client\_ip = request.META['REMOTE\_ADDR']). But when i call the site using the ip address i get the client ip only

And when i use this (client\_ip = request.META['X\_FORWARDED\_FOR']) i get the client ip and the ip of the server

How do i just get the Client ip alone