chore(ops/nixos/camden): Enable HSTS headers on *.tazj.in
This commit is contained in:
parent
f9063bc75d
commit
e90e3153f8
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,8 @@ in lib.fix(self: {
|
|||
extraConfig = ''
|
||||
${depot.web.blog.oldRedirects}
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
||||
|
||||
location ~* \.(webp|woff2)$ {
|
||||
add_header Cache-Control "public, max-age=31536000";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue