41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Security headers for all pages
|
|
/*
|
|
X-Frame-Options: DENY
|
|
X-Content-Type-Options: nosniff
|
|
Referrer-Policy: strict-origin-when-cross-origin
|
|
Permissions-Policy: camera=(), microphone=(), geolocation=()
|
|
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://fonts.googleapis.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https://support.tiber365.it; frame-ancestors 'none';
|
|
|
|
# Cache control for static assets
|
|
/*.js
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/*.css
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/*.svg
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/*.png
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/*.jpg
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/*.ico
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/sw.js
|
|
Cache-Control: public, max-age=0, must-revalidate
|
|
|
|
/manifest.json
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/favicon.svg
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/images/*
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/sitemap.xml
|
|
Cache-Control: public, max-age=3600 |