1
0
Fork 0

aria2: fixup

This commit is contained in:
Daniel Kempkens 2023-04-26 14:56:23 +02:00
parent 24c0d969a9
commit ab9dab1148
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -36,20 +36,6 @@ in
};
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;
http3 = true;
kTLS = true;
@ -64,15 +50,4 @@ in
proxyWebsockets = true;
};
};
networking.firewall.interfaces =
let
ports = [ 6800 ];
in
{
"ens3".allowedTCPPorts = ports;
"ens3".allowedUDPPorts = ports;
"tailscale0".allowedTCPPorts = ports;
"tailscale0".allowedUDPPorts = ports;
};
}