diff options
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$" = { |
