Update Plausible to 2.1

This commit is contained in:
Jake Howard
2024-06-24 19:54:40 +01:00
parent 659cccd15a
commit 6dd4e57591
3 changed files with 45 additions and 36 deletions

View File

@ -48,3 +48,7 @@
ssl_cert_path: /etc/letsencrypt/live/plausible.theorangeone.net
location_extra: |
rewrite ^/js/index.js$ /js/plausible.js last;
if ($host = "plausible.theorangeone.net") {
# HACK: https://github.com/plausible/analytics/discussions/4272
rewrite ^/ https://elbisualp.theorangeone.net redirect;
}