You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hosting Piwik behind cloudflare the IP reporting is off. This is correct behaviour, but it would be preferred to make use of the cloudflare header that's reporting the real IP for clients.
This could be an easy fix or option:
if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
$_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}
The text was updated successfully, but these errors were encountered:
When hosting Piwik behind cloudflare the IP reporting is off. This is correct behaviour, but it would be preferred to make use of the cloudflare header that's reporting the real IP for clients.
This could be an easy fix or option:
if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
$_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}
The text was updated successfully, but these errors were encountered: