From 4f980efaea0b6b935cd4c554eb6dee40987628ff Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 22 Jun 2023 04:50:46 +0900 Subject: Enter Internet.nl's hall of fame as a champion --- static.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static.nix b/static.nix index 21a2449..6ff96aa 100644 --- a/static.nix +++ b/static.nix @@ -71,6 +71,9 @@ in { virtualHosts = { ${domain} = { enableACME = true; + extraConfig = '' + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; + ''; forceSSL = true; locations = { "/".index = "index.html index.xhtml"; -- cgit 1.4.1