From 8c9b2afad9ddf196fe282bf1fcf4b872d563abd9 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Fri, 4 Apr 2025 20:16:04 -0300 Subject: [PATCH] feat: anubis bot protection to medama --- capytal/analytics.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/capytal/analytics.nix b/capytal/analytics.nix index f857b4a..07ac261 100644 --- a/capytal/analytics.nix +++ b/capytal/analytics.nix @@ -11,4 +11,11 @@ in { } ''; }; + + services.anubis.instances."medama" = { + bind = ":${toString (port + 2)}"; + metricsBind = ":${toString (port + 3)}"; + serveRobotsTxt = true; + target = "http://localhost:${toString port}"; + }; }