aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/services.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/arrakis/services.nix')
-rw-r--r--hosts/arrakis/services.nix4
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;
}
'';