From 998cf4c63d256dbf41892d9928c1bf0c78b941fe Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 27 Aug 2024 10:01:31 +0200 Subject: [PATCH] website: force HTTPS Co-authored-by: b12f Co-authored-by: Hendrik Sokolowski --- modules/nginx-website/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nginx-website/default.nix b/modules/nginx-website/default.nix index ebf1e8d3..26c944e1 100644 --- a/modules/nginx-website/default.nix +++ b/modules/nginx-website/default.nix @@ -7,7 +7,7 @@ services.nginx.virtualHosts = { "www.${config.pub-solar-os.networking.domain}" = { enableACME = true; - addSSL = true; + forceSSL = true; extraConfig = '' error_log /dev/null;