diff options
Diffstat (limited to 'ops')
-rw-r--r-- | ops/nixos/camden/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index cb8f1c2188c9..1a06a5e7b80b 100644 --- a/ops/nixos/camden/default.nix +++ b/ops/nixos/camden/default.nix @@ -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"; } |