about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/srv3/cgit.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/machines/srv3/cgit.nix b/machines/srv3/cgit.nix
index 2e8ced3..989e289 100644
--- a/machines/srv3/cgit.nix
+++ b/machines/srv3/cgit.nix
@@ -47,9 +47,13 @@ in
       Unit = "git-fetch.service";
     };
   };
-  services.nginx.virtualHosts."${cgitHostname}".locations."=/mylogo.png" = {
-     alias = "${./baby-yoda.png.comp}";
-   };
+  services.nginx.virtualHosts."${cgitHostname}" = {
+    locations."=/mylogo.png" = {
+      alias = "${./baby-yoda.png.comp}";
+    };
+    forceSSL = true;
+    enableACME = true;
+  };
   services.cgit.gitN = {
     enable = true;
     package = pkgs.cgit-pink;