diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-13 09:30:22 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-13 09:30:22 -0800 |
commit | 2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c (patch) | |
tree | b666f287224f53c583935ff76bdaf50bbfeb4766 | |
parent | 1bf1fb3faa255166f03d4bf48a9805fb33bda7e5 (diff) | |
download | nix-2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c.tar nix-2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c.tar.gz nix-2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c.tar.bz2 nix-2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c.tar.lz nix-2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c.tar.xz nix-2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c.tar.zst nix-2ad3cd67b9a0f269f97eeaf301992af20c3bbb7c.zip |
Use better variable name
Diffstat (limited to '')
-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; } ''; |