feat: reverse proxy aria, redirect base aria url to query setting
parent
63e7d1fa81
commit
f72d1e8d9c
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue