diff options
-rw-r--r-- | static.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |