chore(htaccess.liquid): update headers
This commit is contained in:
parent
cc8bdf017b
commit
04e111f8c7
3 changed files with 6 additions and 3 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue