about summary refs log tree commit diff stats
path: root/modules/by-name/gi/git-back
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-18 17:15:09 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-18 17:15:09 +0100
commita65b247f94cc542bafdc68b8642bcaa176e02c9c (patch)
tree9abcebc3af5ff5e5b967758529469cea1748b96f /modules/by-name/gi/git-back
parentscripts: Consolidate in `scripts` directory and advance (diff)
downloadnixos-server-a65b247f94cc542bafdc68b8642bcaa176e02c9c.zip
modules/anubis: Introduce and setup
This should hopefully reduce the workload applied to our servers.

Notably, `cgit` is not yet behind it, as it requires more, considering
that it is a fgi application.
Diffstat (limited to '')
-rw-r--r--modules/by-name/gi/git-back/module.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/by-name/gi/git-back/module.nix b/modules/by-name/gi/git-back/module.nix
index 96f4913..7df1bac 100644
--- a/modules/by-name/gi/git-back/module.nix
+++ b/modules/by-name/gi/git-back/module.nix
@@ -28,14 +28,6 @@ in {
       };
     };
 
-    services.nginx = {
-      enable = true;
-      virtualHosts."${cfg.domain}" = {
-        locations."/".proxyPass = "http://127.0.0.1:8000";
-
-        enableACME = true;
-        forceSSL = true;
-      };
-    };
+    vhack.anubis.instances."${cfg.domain}".target = "http://127.0.0.1:8000";
   };
 }