From 366587ac5b085f2fcd971a546ef2fbda1f76fd96 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 3 Nov 2023 19:55:55 +0100 Subject: 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. --- system/services/nginx/default.nix | 4 ++-- 1 file 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}"; }; }; -- cgit 1.4.1