From a1544a9bfec87b7883fdd7131200048a00dfa5f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 13 Apr 2023 11:57:42 +0300 Subject: [PATCH] jakstys.lt: add sts --- configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index 44cb9f1..95d8a57 100644 --- a/configuration.nix +++ b/configuration.nix @@ -370,7 +370,10 @@ in { } ''; extraConfig = '' + header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" + header /_/* Cache-Control "public, max-age=31536000, immutable" + root * /var/www/jakstys.lt file_server { precompressed br gzip