commit
9cc1530f2e
58 files changed
+5631
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# Apache (hébergement mutualisé OVH)
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
# Fichiers générés par Astro : nom avec empreinte, donc immuables
|
||||
<If "%{REQUEST_URI} =~ m#^/_astro/#">
|
||||
Header set Cache-Control "public, max-age=31536000, immutable"
|
||||
</If>
|
||||
Header always set X-Content-Type-Options "nosniff"
|
||||
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE text/html text/css application/javascript image/svg+xml application/json
|
||||
</IfModule>
|
||||
Reference in new issue
Block a user