Wascer
Themen im Hilfe-Center

Set up with Caddy

1 Min. LesezeitAls Markdown ansehen

Die Artikel erscheinen auf Englisch.

For Caddy servers, add the reverse proxy configuration to your Caddyfile.

Caddyfile configuration

Add the following block to your Caddyfile:

plaintext
@sgtm path /metrics

handle @sgtm {
    reverse_proxy https://sst.yoursite.com.br {
        header_up X-Forwarded-For {remote_host}
        header_up X-From-Cdn "cf-wascer"
        header_up CF-Connecting-Ip {remote_host}
        header_up Host sst.yoursite.com.br
    }
}

Replace /metrics with the path you want and sst.yoursite.com.br with your sGTM container domain. Restart Caddy after applying the changes.

War dieser Artikel hilfreich?

Nicht gelöst? Schreib dem Support.

Kommentare

Kommentar schreiben

Auf der Website erscheinen nur Ihr Vorname und der Anfangsbuchstabe Ihres Nachnamens; Ihre E-Mail-Adresse bleibt bei uns. Siehe Datenschutzerklärung.