[RSS Feed/News] Xenforo is logging all user's IP addresses as the load balancer's private IP address

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Apache Version: Apache/2.4.38 (Ubuntu)
PHP Version: 7.2.15

I'm hosting the website on an AWS server behind a load balancer. The website is logging every user's IP address as the private IP address of the load balancer instead of the user's public IP address.

964347d52c.png


In admin.php?tools/phpinfo on my site, the $_SERVER['REMOTE_ADDR'] variable is showing up as 172.30.0.200
The $_SERVER['HTTP_X_FORWARDED_FOR'] variable has my local...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom