Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-09-19 11:09:02 +0300
committerGitHub <noreply@github.com>2016-09-19 11:09:02 +0300
commit19d711f9f6167985fd6fed26fa11d8b878778cec (patch)
tree6f223b97692892cfb94bf5b592605f73d525a940 /config
parent0bc29afb5b424ac2b90fb912301d4f30380f9428 (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.php1
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