summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-03-10 17:32:48 +0100
committersils <sils@sils.li>2024-03-10 17:32:48 +0100
commit217efdae78345b84f9ff79e51fadb443759ac3fe (patch)
tree176b7986f47e066692040e2d184083496e8e4ac5
parentbuild(flake): update (diff)
downloadnixos-server-217efdae78345b84f9ff79e51fadb443759ac3fe.tar.gz
nixos-server-217efdae78345b84f9ff79e51fadb443759ac3fe.zip
fix(system/services/invidious-router): add new healthcheck config
-rw-r--r--system/services/invidious-router/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/services/invidious-router/default.nix b/system/services/invidious-router/default.nix
index cd261d5..ff4633c 100644
--- a/system/services/invidious-router/default.nix
+++ b/system/services/invidious-router/default.nix
@@ -28,6 +28,9 @@
           enabled = true;
           qty_of_top_results = 4;
         };
+        minimum_ratio = 0.2;
+        remove_no_ratio = true;
+        text_not_present = "YouTube is currently trying to block Invidious instances";
       };
     };
     nginx = {