From 3194613675da666e476da540a641785cb7dab74a Mon Sep 17 00:00:00 2001 From: rotterdam Date: Tue, 28 Mar 2023 18:22:50 -0300 Subject: [PATCH] disable conduit federation altogether --- hosts/servers/alexandria/conduit.nix | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/hosts/servers/alexandria/conduit.nix b/hosts/servers/alexandria/conduit.nix index 8537e3d..fdf0e44 100644 --- a/hosts/servers/alexandria/conduit.nix +++ b/hosts/servers/alexandria/conduit.nix @@ -64,19 +64,6 @@ in forceSSL = true; kTLS = true; - listen = [ - { - addr = "0.0.0.0"; - port = 443; - ssl = true; - } - { - addr = "0.0.0.0"; - port = 8448; - ssl = true; - } - ]; - locations."/_matrix/" = { proxyPass = "http://backend_conduit$request_uri"; proxyWebsockets = true; @@ -130,9 +117,5 @@ in }; }; }; - - # Open firewall ports for Matrix federation - networking.firewall.allowedTCPPorts = [ 8448 ]; - networking.firewall.allowedUDPPorts = [ 8448 ]; }