aria2: fixup
This commit is contained in:
parent
8250d2bc9a
commit
8eba3b7788
2 changed files with 15 additions and 6 deletions
Binary file not shown.
|
@ -36,6 +36,20 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."aria.internal.kempkens.network" = {
|
services.nginx.virtualHosts."aria.internal.kempkens.network" = {
|
||||||
|
listen = [
|
||||||
|
{
|
||||||
|
addr = "0.0.0.0";
|
||||||
|
port = 6800;
|
||||||
|
ssl = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
addr = "[::0]";
|
||||||
|
port = 6800;
|
||||||
|
ssl = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
quic = true;
|
quic = true;
|
||||||
http3 = true;
|
http3 = true;
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
|
@ -46,13 +60,8 @@ in
|
||||||
|
|
||||||
locations."/jsonrpc" = {
|
locations."/jsonrpc" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyPass = "http://192.168.42.2:6800";
|
proxyPass = "http://192.168.42.2:6801";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
locations."/rpc" = {
|
|
||||||
recommendedProxySettings = true;
|
|
||||||
proxyPass = "http://192.168.42.2:6800";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue