Google Analytics with nginx reverse proxy

Lasse Laursen laursen at
Thu Dec 12 12:03:29 UTC 2013

Google analytics code (the JavaScript) isn't served from your server. I don't quite understand what your problem is?

Sent from my iPhone

> On 12/12/2013, at 12.33, "fakrulalam" <nginx-forum at> wrote:
> I am using NGINX as reverse proxy and forward the traffic to Apache server
> where Google Analytics is configured. I have configured proxy_set_header and
> from Apache server I can view users IP address. But in Googel Analytics
> users session droped. I am wonder where there is any  other configuration
> need to be done?
> Thanks 
> Fakrul
> Posted at Nginx Forum:,245460,245460#msg-245460
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list