diff options
| author | Kj Tsanaktsidis <kjtsanaktsidis@groq.com> | 2026-01-09 16:39:25 +1100 |
|---|---|---|
| committer | Kj Tsanaktsidis <kjtsanaktsidis@groq.com> | 2026-01-09 16:39:25 +1100 |
| commit | 497ef0c70d4cfb72dc4c8e978a99d5b08fbad2e4 (patch) | |
| tree | 9e85c4b5b135ba92f8fa091e966be65e4ebbdbdf /modules/cgit.nix | |
| parent | ea4ee8bea211c5eb35a03b78559dffe3992fc1bf (diff) | |
ACME
Diffstat (limited to 'modules/cgit.nix')
| -rw-r--r-- | modules/cgit.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/cgit.nix b/modules/cgit.nix index e9bbf36..c45290a 100644 --- a/modules/cgit.nix +++ b/modules/cgit.nix @@ -11,6 +11,7 @@ disabledModules = ["services/networking/cgit.nix" ]; imports = [ "${inputs.nixpkgs-stable-release}/nixos/modules/services/networking/cgit.nix" + ./acme.nix ]; users.users.git = { @@ -75,8 +76,8 @@ services.nginx = { enable = true; virtualHosts."git.kjtsanaktsidis.id.au" = { - forceSSL = false; - enableACME = false; + forceSSL = true; + enableACME = true; locations = { # Block HTTP pushes explicitly (receive-pack) "~ ^/git/.+\\.git/git-receive-pack$" = { |
