initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Basic hardening + caching
|
||||
|
||||
Options -Indexes
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
Header set X-Frame-Options "SAMEORIGIN"
|
||||
Header set Referrer-Policy "strict-origin-when-cross-origin"
|
||||
</IfModule>
|
||||
|
||||
# Cache static assets
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresByType text/css "access plus 7 days"
|
||||
ExpiresByType application/javascript "access plus 7 days"
|
||||
ExpiresByType image/svg+xml "access plus 30 days"
|
||||
ExpiresByType image/png "access plus 30 days"
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user