diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-06-22 04:50:46 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-06-22 04:50:46 +0900 |
commit | 4f980efaea0b6b935cd4c554eb6dee40987628ff (patch) | |
tree | ac1b5133075be33c8b8614289439623538518056 | |
parent | 1906b2cd26339ff9e3e5253073042777278322e9 (diff) | |
download | nixos-conf-4f980efaea0b6b935cd4c554eb6dee40987628ff.tar.gz |
Enter Internet.nl's hall of fame as a champion
-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"; |