reverse proxy plausible script
This commit is contained in:
parent
f5677414e6
commit
9d16fc0da9
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue