1
Fork 0

Add Plausible

This commit is contained in:
Jake Howard 2024-03-03 21:18:46 +00:00
parent 798d0e96c0
commit 506faeb9cf
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@ server {
return 302 https://theorangeone.net;
}
# Inject plausible
sub_filter "</body>" "<script defer data-domain='$host' src='https://elbisualp.theorangeone.net/js/script.js'></script></body>";
sub_filter_once on;
sub_filter_last_modified on;
# Expose WebDAV on a sub-path
location /.dav/ {
alias /srv/;