about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-07 01:45:07 +0900
committersefidel <contact@sefidel.net>2023-02-07 01:45:07 +0900
commit20db890c482c138d61f29631980e83f25190a45d (patch)
tree149d25b7330422cc49a2f40d535ad40ba39668e6 /nixos
parent261475ed2bb95d10ba90ebb3d5202ba6af7811ae (diff)
downloadnixrc-20db890c482c138d61f29631980e83f25190a45d.tar.gz
nixrc-20db890c482c138d61f29631980e83f25190a45d.zip
feat(nixos/cobalt): force SSL on all services
Diffstat (limited to 'nixos')
-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" = {