feat: expose *arr servers on tailnet

main
Louis Pearson 2024-01-09 02:43:17 -07:00
parent 5558a958db
commit 62a1d699f4
1 changed files with 17 additions and 0 deletions

View File

@ -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"; }
];
};