summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-03 19:55:55 +0100
committerSoispha <soispha@vhack.eu>2023-11-03 19:55:55 +0100
commit366587ac5b085f2fcd971a546ef2fbda1f76fd96 (patch)
treee80b77938b5d7facf42caaf4ed1c8cbd1675e841 /system/services
parentchore(version): v0.17.0 (diff)
downloadnixos-server-366587ac5b085f2fcd971a546ef2fbda1f76fd96.tar.gz
nixos-server-366587ac5b085f2fcd971a546ef2fbda1f76fd96.zip
fix(system/services/nginx/redirects): Enable ssl for the domains
Although the page does not actually serve any content, many browsers
will still refuse to access it at all, if they have the 'https-only'
mode activated.
Diffstat (limited to '')
-rw-r--r--system/services/nginx/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix
index cc633ed..3a0496d 100644
--- a/system/services/nginx/default.nix
+++ b/system/services/nginx/default.nix
@@ -7,8 +7,8 @@
   }: {
     name = key;
     value = {
-      forceSSL = false;
-      enableACME = false;
+      forceSSL = true;
+      enableACME = true;
       locations."/".return = "301 ${value}";
     };
   };