diff options
author | sils <sils@sils.li> | 2024-02-21 19:00:26 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2024-02-21 19:00:26 +0100 |
commit | cad78b3680f20d550400522ec4524b3551df0c27 (patch) | |
tree | 56e54b27692f4d0f4e8ce39646f67543ee441ba6 /system | |
parent | fix(system/services/invidious-router): bind to 127.0.0.1 (diff) | |
download | nixos-server-cad78b3680f20d550400522ec4524b3551df0c27.tar.gz nixos-server-cad78b3680f20d550400522ec4524b3551df0c27.zip |
fix(system/services/invidious-router): change allowed_status_codes type to int
Diffstat (limited to '')
-rw-r--r-- | system/services/invidious-router/default.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/system/services/invidious-router/default.nix b/system/services/invidious-router/default.nix index ca7ce6d..383feea 100644 --- a/system/services/invidious-router/default.nix +++ b/system/services/invidious-router/default.nix @@ -12,11 +12,17 @@ enabled = true; url = "https://api.invidious.io/instances.json"; filter_regions = true; - allowed_regions = ["AT" "DE" "CH"]; + allowed_regions = [ + "AT" + "DE" + "CH" + ]; }; healthcheck = { path = "/"; - allowed_status_codes = ["200"]; + allowed_status_codes = [ + 200 + ]; timeout = "1s"; interval = "10s"; filter_by_response_time = { @@ -28,7 +34,9 @@ nginx = { enable = true; domain = "invidious-router.sils.li"; - extraDomains = ["video.fosswelt.org"]; + extraDomains = [ + "video.fosswelt.org" + ]; }; }; } |