summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-18 05:14:12 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-18 05:14:12 +0200
commitb9395fbe0cd55a5f6503f221e0bb1c98954be10c (patch)
tree05ef6b9e382a911d4099b485301d3c2dd31f3ba8
parentfix(system/impermanence): Persist `/var/lib/nixos` (diff)
downloadnixos-server-b9395fbe0cd55a5f6503f221e0bb1c98954be10c.tar.gz
nixos-server-b9395fbe0cd55a5f6503f221e0bb1c98954be10c.zip
fix(system/services/invidious-router): Set health check path to a video URL
The main page does sometimes load, but videos are still not playable.
This new path really checks, whether the instance works.
-rw-r--r--system/services/invidious-router/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/services/invidious-router/default.nix b/system/services/invidious-router/default.nix
index 1cb61df..c4d855c 100644
--- a/system/services/invidious-router/default.nix
+++ b/system/services/invidious-router/default.nix
@@ -18,7 +18,7 @@
         ];
       };
       healthcheck = {
-        path = "/";
+        path = "/watch?v=uSvJaYxRoB4";
         allowed_status_codes = [
           200
         ];