Allow Cross-Origin Resource Sharing (CORS) for Plausible Analytics

This commit is contained in:
Ethan Yoo 2024-06-02 17:48:16 -04:00
parent 9dba0cb219
commit 5e6d629243
Signed by: ethan
GPG Key ID: 70596474C5D20F85
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# Security tests: https://observatory.mozilla.org/
# Disable DNS prefetching: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control
Header always set Access-Control-Allow-Origin "analytics.ethanyoo.com"
Header always set X-XSS-Protection "1; mode=block"
Header always set X-Frame-Options "DENY"
Header always set X-DNS-Prefetch-Control "off"