2020.12.26
Reverse proxy Google Tag Manager with Nginx
Reverse proxy Google Tag Manager and Google Analytics 4 with Nginx.
2020.12.26
Reverse proxy Google Tag Manager and Google Analytics 4 with Nginx.
I'm currently using LogDNA for gathering Nginx logs. However, I can only see IPs from Cloudflare by default in the logs as my server was proxied by Cloudflare. Let's see how to reveal the real IP address of the client in the logs behind such reverse proxy server by using ngx_http_realip_module.