about summary refs log tree commit diff
path: root/nixos/cobalt/services/cgit.nix
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/cobalt/services/cgit.nix
parent261475ed2bb95d10ba90ebb3d5202ba6af7811ae (diff)
downloadnixrc-20db890c482c138d61f29631980e83f25190a45d.tar.gz
nixrc-20db890c482c138d61f29631980e83f25190a45d.zip
feat(nixos/cobalt): force SSL on all services
Diffstat (limited to 'nixos/cobalt/services/cgit.nix')
-rw-r--r--nixos/cobalt/services/cgit.nix2
1 files changed, 1 insertions, 1 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 = {