summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-12-12 22:22:28 +0100
committersils <sils@sils.li>2023-12-12 22:22:28 +0100
commit702f22264a5f19ffd53d17de2d8606d2dd96a9c7 (patch)
tree56a64f6318f1e2e5351c103610f9170ad0fa9301 /system
parentrefactor(system/services/etebase): explain outcommented static files (diff)
parentfix(system/services/nginx/redirects): Enable ssl for the domains (diff)
downloadnixos-server-702f22264a5f19ffd53d17de2d8606d2dd96a9c7.tar.gz
nixos-server-702f22264a5f19ffd53d17de2d8606d2dd96a9c7.zip
chore(merge): branch 'redirect'
Diffstat (limited to '')
-rw-r--r--system/services/nginx/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix
index cc633ed..3a0496d 100644
--- a/system/services/nginx/default.nix
+++ b/system/services/nginx/default.nix
@@ -7,8 +7,8 @@
   }: {
     name = key;
     value = {
-      forceSSL = false;
-      enableACME = false;
+      forceSSL = true;
+      enableACME = true;
       locations."/".return = "301 ${value}";
     };
   };