Load Balancer - Finding the clients IP number
I have a geo database that I use to look up the users country based on IP number.
I've noticed that the IP is the same for all users and therefore everybody apparently lives in the US ![]()
I believe this is because I've added the site to a load balancer., it's acting like a proxy and replacing the IP.
I've tried the cgi values - remote_addr and also http_x_forwarded_for (which is empty - I guess the data center has to set it to forward the IP)
Is there anything else that I'm missing that might sniff out that IP number?
Failing that I'll just take it off the load balancer and move the static HTML files that I do want on a load balancer onto separate servers, but I'd really like to know if there's a fix using CF before I do that
Also reached out to the ISP, maybe they can tweak the load balancer to forward the IP
