Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

All visits have same IP - even after activating proxy_client_headers

$
0
0

@mvillar wrote:

We recently moved our Piwik installation to a new server platform that includes a reverse proxy. Since then, all visits have the same source IP. According to http://piwik.org/faq/how-to-install/faq_98/ , we uncommented the line:

proxy_client_headers[] = HTTP_X_FORWARDED_FOR

But it has no effect! The source IP is still the same, geolocation does not work.

phpinfo(); shows that requests get the HTTP_X_FORWARDED_FOR header with the value:
x.x.x.x, y.y.y.y

where x.x.x.x is the real source IP. Not sure what y.y.y.y is, maybe an intermediate proxy.

Where is the problem? I have searched for similar topics but all of them point to proxy_client_headers[] as a solution. What are we missing?

Thanks in advance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles