diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-09-19 11:09:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-19 11:09:02 +0300 |
commit | 19d711f9f6167985fd6fed26fa11d8b878778cec (patch) | |
tree | 6f223b97692892cfb94bf5b592605f73d525a940 /config | |
parent | 0bc29afb5b424ac2b90fb912301d4f30380f9428 (diff) |
Extract the first IP from HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP and HTTP_CF_CONNECTING_IP and HTTP_X_FORWARDED_HOST when there is more than one IP (#10404)
* Extract the first IP from HTTP_X_FORWARDED_FOR when there is more than one
Fixes #10342
* Fetch the first IP from a list of IPs
* Return the first non empty IP
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index edf9b867a2..1cdf1cb302 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -443,6 +443,7 @@ multisites_refresh_after_seconds = 300 assume_secure_protocol = 0 ; List of proxy headers for client IP addresses +; Piwik will determine the user IP by extracting the first IP address found in this proxy header. ; ; CloudFlare (CF-Connecting-IP) ;proxy_client_headers[] = HTTP_CF_CONNECTING_IP |