Log real IP
-
Hi,
Here is a small code change to log real-ip instead of 127.0.0.1. You need to set X-Real-IP header in your web-server when proxying. Change line 424 to:
‘ip’ => isset($_SERVER[‘HTTP_X_REAL_IP’])?$_SERVER[‘HTTP_X_REAL_IP’]:$_SERVER[‘REMOTE_ADDR’],
Best regards,
Alexanderhttps://www.ads-software.com/extend/plugins/simple-login-log/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Log real IP’ is closed to new replies.