caddy/conf.d/plausible.bbaovanc.com
BBaoVanC 7c7191882e Remove worthless server side logging
I never used it because it's not very useful. Too much noise from bots,
crawlers, etc.
2022-05-20 22:56:37 -05:00

19 lines
651 B
Plaintext

# vim: ft=caddyfile
plausible.bbaovanc.com {
encode zstd gzip
import hsts
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
rewrite /js/bobalytics.local.outbound-links.js /js/plausible.local.outbound-links.js
reverse_proxy localhost:84
import basicerrors
}