feat: add static resources for *arr servers

main
Louis Pearson 2024-01-09 02:56:06 -07:00
parent 62a1d699f4
commit 91948a75f9
1 changed files with 15 additions and 1 deletions

View File

@ -468,18 +468,32 @@
virtualHosts."arr.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3
redir /lidarr /lidarr/
redir /radarr /radarr/
redir /readarr /readarr/
redir /sonarr /sonarr/
handle_path /lidarr* {
reverse_proxy localhost:8686
root * ${pkgs.lidarr}/share
file_server
}
handle_path /radarr* {
reverse_proxy localhost:7878
root * ${pkgs.radarr}/share
file_server
}
handle_path /readarr* {
reverse_proxy localhost:8787
root * ${pkgs.readarr}/share
file_server
}
handle_path /sonarr* {
reverse_proxy localhost:8989
}
root * ${pkgs.sonarr}/share
file_server
}
'';
};