about summary refs log tree commit diff
path: root/nixos/cobalt
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/cobalt')
-rw-r--r--nixos/cobalt/services/cgit.nix2
-rw-r--r--nixos/cobalt/services/dendrite.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/cobalt/services/cgit.nix b/nixos/cobalt/services/cgit.nix
index 4e030c8..c0cd948 100644
--- a/nixos/cobalt/services/cgit.nix
+++ b/nixos/cobalt/services/cgit.nix
@@ -25,7 +25,7 @@
   users.extraUsers.nginx.extraGroups = [ "git" ];
 
   services.nginx.virtualHosts."git.sefidel.com" = {
-    addSSL = true;
+    forceSSL = true;
     useACMEHost = "sefidel.com";
     root = "${pkgs.cgit-pink}/cgit";
     locations = {
diff --git a/nixos/cobalt/services/dendrite.nix b/nixos/cobalt/services/dendrite.nix
index a5ef98e..af1af32 100644
--- a/nixos/cobalt/services/dendrite.nix
+++ b/nixos/cobalt/services/dendrite.nix
@@ -134,7 +134,7 @@ in
       };
     in
     {
-      addSSL = true;
+      forceSSL = true;
       useACMEHost = "sefidel.com";
       locations = {
         "/.well-known/matrix/server" = {