mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 18:50:29 -04:00
23 lines
619 B
Plaintext
23 lines
619 B
Plaintext
# Sensible default security headers:
|
|
/*
|
|
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 (one year) for vendored assets:
|
|
# web fonts, emojis, etc.
|
|
/vendor/*
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
# Proper MIME type for Atom feed:
|
|
/feed.atom
|
|
Content-Type: application/atom+xml
|
|
|
|
# Recommended MIME type for PWA manifests:
|
|
# https://github.com/w3c/manifest/issues/689
|
|
/manifest.json
|
|
Content-Type: application/manifest+json
|
|
/site.webmanifest
|
|
Content-Type: application/manifest+json
|