summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/services/invidious-router/default.nix14
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"
+ ];
};
};
}