From 2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 13 Nov 2024 09:30:22 -0800 Subject: Use better variable name --- hosts/arrakis/services.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/arrakis') diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 34bb97c..dff482d 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -139,7 +139,7 @@ http 0 ; } - map "$geo$req_ssl" $enable_ssl { + map "$geo$req_ssl" $force_enable_ssl { default 0; 00 1; } @@ -161,7 +161,7 @@ enableACME = true; extraConfig = '' - if ($enable_ssl) { + if ($force_enable_ssl) { return 301 https://$host$request_uri; } ''; -- cgit v1.2.3