From ab9dab11485fa62051914d1633b7e8f61ddef1ad Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 26 Apr 2023 14:56:23 +0200 Subject: [PATCH] aria2: fixup --- system/nixos/aria2.nix | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/system/nixos/aria2.nix b/system/nixos/aria2.nix index 12804f1..dfb917b 100644 --- a/system/nixos/aria2.nix +++ b/system/nixos/aria2.nix @@ -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; - }; }