From f1bb9ca91ba9e7cecac13c8a162219dcef9db6df Mon Sep 17 00:00:00 2001 From: Max Audron Date: Tue, 17 Oct 2023 15:15:51 +0200 Subject: force ssl on nginx hosts --- lib/nginx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nginx/default.nix b/lib/nginx/default.nix index ac356ea..e7657e6 100644 --- a/lib/nginx/default.nix +++ b/lib/nginx/default.nix @@ -2,7 +2,7 @@ { proxyDomain = cert: proxyPass: { - addSSL = true; + forceSSL = true; useACMEHost = cert; locations."/" = { inherit proxyPass; @@ -19,7 +19,7 @@ }; proxyDomainAuth = cert: proxyPass: { - addSSL = true; + forceSSL = true; useACMEHost = cert; locations."/" = { inherit proxyPass; -- cgit v1.2.3