[Resolved] Log real IP
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’],
- The topic ‘[Resolved] Log real IP’ is closed to new replies.