reverse proxy plausible script

This commit is contained in:
Tobias Brunner 2025-04-09 15:37:48 +02:00
parent f5677414e6
commit 9d16fc0da9
No known key found for this signature in database

View file

@ -48,6 +48,14 @@
}
}
@plausible path /js/script.js /api/event
handle @plausible {
rewrite /js/script.js /js/script.file-downloads.hash.outbound-links.tagged-events.js
reverse_proxy https://plausible.io {
header_up Host {http.reverse_proxy.upstream.hostport}
}
}
# Basic compression for better performance
encode gzip
}