Now that we are passing the X-Forwarded-For header we should configure Drupal so it sees the actual client IP address rather than our own. The Using a load balancer or reverse proxy article is a good reference on how to do this.
The configuration required to enable this environment consists of:
Setting the configuration value reverse_proxy to TRUE,
Setting the configuration value reverse_proxy_addresses to an array containing the IP of HTTP Reverse Proxy, as seen from the web servers.
Now that we are passing the X-Forwarded-For header we should configure Drupal so it sees the actual client IP address rather than our own. The Using a load balancer or reverse proxy article is a good reference on how to do this.
The configuration required to enable this environment consists of:
reverse_proxy
toTRUE
,reverse_proxy_addresses
to an array containing the IP of HTTP Reverse Proxy, as seen from the web servers.