1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-27 04:06:00 -04:00

clean up a few headers, redirects, scripts

This commit is contained in:
2020-04-05 15:50:41 -04:00
parent 22c7e76e51
commit b69461c306
5 changed files with 19 additions and 37 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
# Sensible default security headers
# - More info: https://scotthelme.co.uk/hardening-your-http-response-headers/
# - Test website: https://securityheaders.com/
/*
Referrer-Policy: strict-origin-when-cross-origin
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
# Super long cache for web fonts and Twemojis (one year)
# Super long cache (one year) for vendored assets: web fonts, emojis, etc.
/vendor/*
Cache-Control: max-age=31536000, public, immutable