Server IP is recording when load balancer installed. How to obtain the original Client IP Address?

Comments

nags338228 created an issue. See original summary.

gedur’s picture

Category: Bug report » Support request

Hi, The module relies on Drupal ip_address() which is adjusted for reverse proxy.
Try to configure the reverse proxy configuration from the settings.php

nags338228’s picture

It would be really helpful if you can share the code what exactly i need to write in settings.php file. Thanks for your time.

gedur’s picture

Assigned: nags338228 » Unassigned
Status: Active » Fixed

You can follow this post: https://www.karelbemelmans.com/2015/04/reverse-proxy-configuration-for-d...
The idea is to turn on the proxy settings and add the internal IP.
Hope it helps you

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.