caddy/conf.d/plausible.bbaovanc.com
2022-04-27 17:39:40 -05:00

17 lines
575 B
Plaintext

# vim: ft=caddyfile
plausible.bbaovanc.com {
encode zstd gzip
import hsts
import log
rewrite /js/bobalytics.js /js/plausible.js
rewrite /js/bobalytics.outbound-links.js /js/plausible.outbound-links.js
rewrite /js/bobalytics.hash.outbound-links.js /js/plausible.hash.outbound-links.js
rewrite /js/bobalytics.exclusions.outbound-links.js /js/plausible.exclusions.outbound-links.js
rewrite /js/bobalytics.exclusions.hash.outbound-links.js /js/plausible.exclusions.hash.outbound-links.js
reverse_proxy localhost:84
import basicerrors
}