From 6cc309ef83350418f4d7f11672de83d1e8019e85 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 29 Jan 2025 23:04:58 -0800 Subject: finish config for workstation --- nix/modules/nginx.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'nix/modules/nginx.nix') 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/"; + }; }; }; } -- cgit