disable conduit federation altogether

This commit is contained in:
rotterdam 2023-03-28 18:22:50 -03:00
parent 50d69c0098
commit 3194613675

View file

@ -64,19 +64,6 @@ in
forceSSL = true; forceSSL = true;
kTLS = true; kTLS = true;
listen = [
{
addr = "0.0.0.0";
port = 443;
ssl = true;
}
{
addr = "0.0.0.0";
port = 8448;
ssl = true;
}
];
locations."/_matrix/" = { locations."/_matrix/" = {
proxyPass = "http://backend_conduit$request_uri"; proxyPass = "http://backend_conduit$request_uri";
proxyWebsockets = true; proxyWebsockets = true;
@ -130,9 +117,5 @@ in
}; };
}; };
}; };
# Open firewall ports for Matrix federation
networking.firewall.allowedTCPPorts = [ 8448 ];
networking.firewall.allowedUDPPorts = [ 8448 ];
} }