diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-29 23:04:58 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-29 23:04:58 -0800 |
commit | 6cc309ef83350418f4d7f11672de83d1e8019e85 (patch) | |
tree | e5ef1ed57bfef181079637236143377b53fd4f8b /nix/modules/nginx.nix | |
parent | 46e8b0c5e914c0283a08b0f08aa3cc7c381f47b8 (diff) |
Diffstat (limited to 'nix/modules/nginx.nix')
-rw-r--r-- | nix/modules/nginx.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nix/modules/nginx.nix b/nix/modules/nginx.nix index 7d8a24a..e8c4682 100644 --- a/nix/modules/nginx.nix +++ b/nix/modules/nginx.nix @@ -16,7 +16,7 @@ # Add HSTS header with preloading to HTTPS requests. # Adding this header to HTTP requests is discouraged map $scheme $hsts_header { - https "max-age=31536000; includeSubdomains; preload"; + https "max-age=31536000; includeSubdomains; preload"; } add_header Strict-Transport-Security $hsts_header; @@ -37,11 +37,11 @@ ''; virtualHosts = { - "ret2pop.net" = { - # addSSL = true; - # enableACME = true; - root = "/home/preston/ret2pop-website/"; - }; + "ret2pop.net" = { + # addSSL = true; + # enableACME = true; + root = "/home/preston/ret2pop-website/"; + }; }; }; } |