diff options
author | Silas Schöffel <sils@sils.li> | 2024-06-05 20:12:45 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-06-05 20:12:45 +0200 |
commit | 14938c6bd61b3da8c8e24d1d51db071630b7e796 (patch) | |
tree | 9f0e7d8dd77f1b54f5d258695d457a6089219ce8 /modules/nixos/vhack | |
parent | feat(treewide): add git-server module (diff) | |
download | nixos-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.nix | 4 |
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; + }; }; }; } |