From ea4d4784a4e2461ceca6491ef76eeaea46585332 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Thu, 17 Oct 2024 01:50:04 +0200 Subject: [PATCH] feat: add winters transmission nginx --- SwarselSystems.org | 24 ++++++++++++++++++++++-- profiles/server/common/syncthing.nix | 2 ++ profiles/server/common/transmission.nix | 22 ++++++++++++++++++++-- 3 files changed, 44 insertions(+), 4 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index b8c0e94..9125a25 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -7709,13 +7709,31 @@ Also, the system state version is set here. No need to touch it. ''; }; "/radarr" = { - proxyPass = "http://127.0.0.1:8080"; + proxyPass = "http://127.0.0.1:7878"; + extraConfig = '' + client_max_body_size 0; + ''; + }; + "/readarr" = { + proxyPass = "http://127.0.0.1:8787"; extraConfig = '' client_max_body_size 0; ''; }; "/sonarr" = { - proxyPass = "http://127.0.0.1:8080"; + proxyPass = "http://127.0.0.1:8989"; + extraConfig = '' + client_max_body_size 0; + ''; + }; + "/lidarr" = { + proxyPass = "http://127.0.0.1:8686"; + extraConfig = '' + client_max_body_size 0; + ''; + }; + "/prowlarr" = { + proxyPass = "http://127.0.0.1:9696"; extraConfig = '' client_max_body_size 0; ''; @@ -7748,6 +7766,8 @@ Also, the system state version is set here. No need to touch it. configDir = "/Vault/apps/syncthing"; guiAddress = "0.0.0.0:8384"; openDefaultPorts = true; + urAccepted = -1; + relay.enable = false; settings = { devices = { "magicant" = { diff --git a/profiles/server/common/syncthing.nix b/profiles/server/common/syncthing.nix index 76804ba..54b9011 100644 --- a/profiles/server/common/syncthing.nix +++ b/profiles/server/common/syncthing.nix @@ -13,6 +13,8 @@ configDir = "/Vault/apps/syncthing"; guiAddress = "0.0.0.0:8384"; openDefaultPorts = true; + urAccepted = -1; + relay.enable = false; settings = { devices = { "magicant" = { diff --git a/profiles/server/common/transmission.nix b/profiles/server/common/transmission.nix index 90334da..89a97d7 100644 --- a/profiles/server/common/transmission.nix +++ b/profiles/server/common/transmission.nix @@ -94,13 +94,31 @@ ''; }; "/radarr" = { - proxyPass = "http://127.0.0.1:8080"; + proxyPass = "http://127.0.0.1:7878"; + extraConfig = '' + client_max_body_size 0; + ''; + }; + "/readarr" = { + proxyPass = "http://127.0.0.1:8787"; extraConfig = '' client_max_body_size 0; ''; }; "/sonarr" = { - proxyPass = "http://127.0.0.1:8080"; + proxyPass = "http://127.0.0.1:8989"; + extraConfig = '' + client_max_body_size 0; + ''; + }; + "/lidarr" = { + proxyPass = "http://127.0.0.1:8686"; + extraConfig = '' + client_max_body_size 0; + ''; + }; + "/prowlarr" = { + proxyPass = "http://127.0.0.1:9696"; extraConfig = '' client_max_body_size 0; '';