Browse the documentation

Setup with Nginx

1 min readUpdated on 6 November 2026
  • Add a location block to your Nginx configuration file:
  • Set the path (for example, /metrics/).
  • Configure proxy_pass to the sGTM container URL.
  • Add headers: Host, X-From-Cdn, CF-Connecting-Ip.
  • Use resolver 8.8.8.8 for DNS resolution.