diff options
-rw-r--r-- | hosts/arrakis/services.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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; } ''; |