mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 11:38:28 -04:00
for now, at least. tired of waiting on Chromium to fix system fonts on Catalina.... https://bugs.chromium.org/p/chromium/issues/detail?id=1005969 Roboto seems closest to San Francisco.
20 lines
668 B
Plaintext
20 lines
668 B
Plaintext
# 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 (one year)
|
|
/fonts/*
|
|
Cache-Control: max-age=31536000, public, immutable, no-transform
|
|
|
|
# Recommended MIME type for PWA manifests
|
|
# https://github.com/w3c/manifest/issues/689
|
|
/manifest.json
|
|
Content-Type: application/manifest+json; charset=UTF-8
|
|
/*.webmanifest
|
|
Content-Type: application/manifest+json; charset=UTF-8
|