From a65b247f94cc542bafdc68b8642bcaa176e02c9c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 18 Dec 2025 17:15:09 +0100 Subject: 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. --- modules/by-name/re/redlib/module.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'modules/by-name/re/redlib/module.nix') diff --git a/modules/by-name/re/redlib/module.nix b/modules/by-name/re/redlib/module.nix index 909c9f1..4d3c600 100644 --- a/modules/by-name/re/redlib/module.nix +++ b/modules/by-name/re/redlib/module.nix @@ -23,14 +23,6 @@ in { openFirewall = false; }; - services.nginx = { - enable = true; - virtualHosts.${domain} = { - locations."/".proxyPass = "http://127.0.0.1:${toString config.services.redlib.port}"; - - enableACME = true; - forceSSL = true; - }; - }; + vhack.anubis.instances."${domain}".target = "http://127.0.0.1:${toString config.services.redlib.port}"; }; } -- cgit 1.4.1