REMOTE_ADDR return private IP instead of public in HTTPS

Posted December 28, 2020 454 views
ApacheDigitalOcean Managed Load Balancers

Our load balancer


is using

REMOTE_ADDR is returning the private ip instead of public ip. is working fine and can get the public ip.

I already setup https pass through in load balancer. But still not get the public IP address.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!