Same-Origin Setup
Setup with Nginx
- 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.
Was this helpful?
Thanks for your feedback!