From 14938c6bd61b3da8c8e24d1d51db071630b7e796 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Wed, 5 Jun 2024 20:12:45 +0200 Subject: fix(git-server): enable SSL for cgit --- modules/nixos/vhack/git-server.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') 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; + }; }; }; } -- cgit 1.4.1