fix: simplify arr configuration

main
Louis Pearson 2024-01-09 12:42:05 -07:00
parent 84be02a122
commit dd23078aae
1 changed files with 4 additions and 25 deletions

View File

@ -472,31 +472,10 @@
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/lidarr-${pkgs.lidarr.version}/UI/
file_server
}
handle_path /radarr* {
reverse_proxy localhost:7878
root * ${pkgs.radarr}/share/radarr-${pkgs.radarr.version}/UI/
file_server
}
handle_path /readarr* {
reverse_proxy localhost:8787
root * ${pkgs.readarr}/share/readarr-${pkgs.readarr.version}/UI/
file_server
}
handle_path /sonarr* {
reverse_proxy localhost:8989
root * ${pkgs.sonarr}/share/sonarr-${pkgs.sonarr.version}/UI/
file_server
}
reverse_proxy /lidarr* localhost:8686
reverse_proxy /radarr* localhost:7878
reverse_proxy /readarr* localhost:8787
reverse_proxy /sonarr* localhost:8989
'';
};