feat: reverse proxy aria, redirect base aria url to query setting

main
Louis Pearson 2024-01-08 21:30:46 -07:00
parent 63e7d1fa81
commit f72d1e8d9c
1 changed files with 3 additions and 1 deletions

View File

@ -454,11 +454,13 @@
bind 100.64.0.3 192.168.0.69
reverse_proxy localhost:5000
'';
virtualHosts."aria.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3
root * ${pkgs.ariang}/share/ariang
file_server
reverse_proxy /jsonrpc localhost:6800
redir / /#!/settings/rpc/set?protocol=https&host=aria.samsehu.perli.casa&port=80&secret=YXJpYTJycGMK
'';
};