From e77bc1e64104f5fd52ce4a05747d7b4fdef6c7d7 Mon Sep 17 00:00:00 2001 From: Rustam Efimov Date: Tue, 14 Apr 2026 21:59:39 +0300 Subject: [PATCH] refactor(services/synapse): remove deadcode --- services/synapse/nginx.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/synapse/nginx.nix b/services/synapse/nginx.nix index 592cef4..945a713 100644 --- a/services/synapse/nginx.nix +++ b/services/synapse/nginx.nix @@ -1,7 +1,6 @@ { config, ... }: let cfg = config.machine.synapse; - maxUploadSize = config.services.matrix-synapse.settings.max_upload_size; clientConfig."m.homeserver".base_url = baseUrl; serverConfig."m.server" = "${cfg.domain}:443"; @@ -17,11 +16,7 @@ in services.nginx = { appendHttpConfig = '' limit_req_zone $binary_remote_addr zone=matrix:10m rate=50r/s; - limit_conn_zone $binary_remote_addr zone=conn_limit:10m; ''; - upstreams."matrix-synapse".servers = { - "unix:/run/matrix-synapse/matrix-synapse.sock" = { }; - }; virtualHosts.${cfg.domain} = { forceSSL = true; enableACME = true;