nginx_reverse remote and server IP are the same

Hosting Kernel

Verified User
Joined
Sep 30, 2015
Messages
150
Hi,

I config my server to use nginx_reverse, and my php code which does log user IP to database.

Recently, I notice all users have the same IP, so I checked found that php $_SERVER['REMOTE_ADDR'], $_SERVER['SERVER_ADDR'] return the server IP.

This works fine before, my CB settings are configured to run auto update:

cron=yes
cron_frequency=monthly
[email protected]
notifications=yes
da_autoupdate=yes
updates=yes
webapps_updates=yes
I have no custom config in '/usr/local/directadmin/custombuild/custom'

Any idea for this problem? I think something wrong after the auto update.
 
Fixed in CB 2.0 rev. 1850. It's an Apache bug though :)
 
Fixed in CB 2.0 rev. 1850. It's an Apache bug though :)

Updated CB to rev. 1850. Bug still present in my statistics program even after restarting apache and nginx.
Do I need to rebuild?
 
Back
Top