chore(htaccess.liquid): update headers

This commit is contained in:
Cory Dransfeldt 2025-06-10 17:09:55 -07:00
parent cc8bdf017b
commit 04e111f8c7
No known key found for this signature in database
3 changed files with 6 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "9.2.5",
"version": "9.2.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "9.2.5",
"version": "9.2.6",
"license": "MIT",
"dependencies": {
"minisearch": "^7.1.2",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "9.2.5",
"version": "9.2.6",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -128,6 +128,9 @@ RewriteRule ^.*$ - [F,L]
<IfModule mod_headers.c>
Header append Vary "Accept-Encoding"
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
<FilesMatch "\.(js|css|woff2|ttf|otf|png|jpg|jpeg|gif|svg|wasm|ico)$">
Header set Cache-Control "public, max-age=31536000, immutable"