diff --git a/configuration.nix b/configuration.nix index 6954031..77d7184 100644 --- a/configuration.nix +++ b/configuration.nix @@ -465,6 +465,22 @@ } redir / /ariang/#!/settings/rpc/set?protocol=wss&host=aria.samsehu.perli.casa&port=443&secret=YXJpYTJycGM=&interface=jsonrpc ''; + + virtualHosts."arr.samsehu.perli.casa".extraConfig = '' + bind 100.64.0.3 + handle_path /lidarr* { + reverse_proxy localhost:8686 + } + handle_path /radarr* { + reverse_proxy localhost:7878 + } + handle_path /readarr* { + reverse_proxy localhost:8787 + } + handle_path /sonarr* { + reverse_proxy localhost:8989 + } + ''; }; # Headscale for access to the network while away from home @@ -495,6 +511,7 @@ { name = "jellyfin.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "kavita.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "aria.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } + { name = "arr.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } ]; };