BlueGit

projects-timfalken-com microchess

Files

microchess / web / .htaccess

.htaccess

.htaccess 595 B Download Raw
1Options -Indexes
2DirectoryIndex index.php
3<FilesMatch "^(README\.md|router\.php)$">
4 Require all denied
5</FilesMatch>
6<IfModule mod_headers.c>
7 Header always set X-Content-Type-Options "nosniff"
8 Header always set Referrer-Policy "same-origin"
9</IfModule>
10
11<IfModule mod_mime.c>
12 AddType application/manifest+json .webmanifest
13</IfModule>
14
15# Versioned asset URLs (?v=commit) may be cached for a long time.
16<IfModule mod_headers.c>
17 <FilesMatch "\.(css|js|png|svg|webp|woff2?)$">
18 Header set Cache-Control "public, max-age=31536000, immutable"
19 </FilesMatch>
20</IfModule>