Use X-Client header for IP for load-balancers
This commit is contained in:
parent
71fa1d2462
commit
e3f06ee220
|
@ -223,6 +223,7 @@ class RegisterThrottlePlugin extends Plugin
|
|||
private function _getIpAddress()
|
||||
{
|
||||
$keys = array('HTTP_X_FORWARDED_FOR',
|
||||
'HTTP_X_CLIENT',
|
||||
'CLIENT-IP',
|
||||
'REMOTE_ADDR');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user