diff --git a/configuration.nix b/configuration.nix index 66516a8..80d194e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -457,10 +457,10 @@ virtualHosts."aria.samsehu.perli.casa".extraConfig = '' bind 100.64.0.3 - root /ariang* ${pkgs.ariang}/share/ariang + redir / /ariang/#!/settings/rpc/set?protocol=https&host=aria.samsehu.perli.casa&port=80&secret=YXJpYTJycGMK + root /ariang/* ${pkgs.ariang}/share/ariang file_server reverse_proxy /jsonrpc localhost:6800 - redir / /ariang/#!/settings/rpc/set?protocol=https&host=aria.samsehu.perli.casa&port=80&secret=YXJpYTJycGMK ''; };