ctucx.git: nixfiles

ctucx' nixfiles

commit 872dae8cbe5f914428d463b7d321ad8e7d13f815
parent a72bfe68c8d4581657ed7c0834bf127fe6a63a72
Author: Katja (ctucx) <git@ctu.cx>
Date: Wed, 1 Jan 2025 14:25:59 +0100

machines/briefkasten/gotosocial: remove `nginx.extraConfig`
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/machines/briefkasten/gotosocial.nix b/machines/briefkasten/gotosocial.nix
@@ -73,11 +73,6 @@ in {
     enableACME = lib.mkIf config.networking.usePBBUplink true;
     forceSSL   = lib.mkIf config.networking.usePBBUplink true;
     kTLS       = lib.mkIf config.networking.usePBBUplink true;
-    extraConfig = ''
-      if ($http_user_agent ~* (mnemo.social)) {
-        return 403;
-      }
-    '';
     locations  = {
       "= /".return = "307 /@leah";