1
0
Fork 0

aria2: fixup

This commit is contained in:
Daniel Kempkens 2023-04-26 14:49:46 +02:00
parent 8250d2bc9a
commit 8eba3b7788
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 15 additions and 6 deletions

View file

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