summary refs log tree commit diff stats
path: root/modules/nixos/vhack
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-06-05 20:12:45 +0200
committerSilas Schöffel <sils@sils.li>2024-06-05 20:12:45 +0200
commit14938c6bd61b3da8c8e24d1d51db071630b7e796 (patch)
tree9f0e7d8dd77f1b54f5d258695d457a6089219ce8 /modules/nixos/vhack
parentfeat(treewide): add git-server module (diff)
downloadnixos-server-14938c6bd61b3da8c8e24d1d51db071630b7e796.tar.gz
nixos-server-14938c6bd61b3da8c8e24d1d51db071630b7e796.zip
fix(git-server): enable SSL for cgit
Diffstat (limited to '')
-rw-r--r--modules/nixos/vhack/git-server.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/nixos/vhack/git-server.nix b/modules/nixos/vhack/git-server.nix
index 162dcd0..b7f7b65 100644
--- a/modules/nixos/vhack/git-server.nix
+++ b/modules/nixos/vhack/git-server.nix
@@ -30,6 +30,10 @@ in {
           source-filter = "${config.services.cgit."git.vhack.eu".package}/lib/cgit/filters/syntax-highlighting.py";
         };
       };
+      nginx.virtualHosts."git.vhack.eu" = {
+        enableACME = true;
+        forceSSL = true;
+      };
     };
   };
 }