From 999f8987bf5c94a4bc2dcda9d33fd28fe3524699 Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Fri, 2 Feb 2024 10:10:46 +0000 Subject: Update from server --- host/Rory-nginx/services/matrix/conduit.nix | 13 +++++++------ host/Rory-nginx/services/nginx/rory.gay/matrix.nix | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'host') diff --git a/host/Rory-nginx/services/matrix/conduit.nix b/host/Rory-nginx/services/matrix/conduit.nix index 95e5d40..f98a4e6 100755 --- a/host/Rory-nginx/services/matrix/conduit.nix +++ b/host/Rory-nginx/services/matrix/conduit.nix @@ -17,11 +17,11 @@ allow_device_name_federation = true; enable_lightning_bolt = true; - allow_local_presence = true; - allow_incoming_presence = true; - allow_outgoing_presence = true; - presence_idle_timeout_s = 60; - presence_offline_timeout_s = 180; + #allow_local_presence = true; + #allow_incoming_presence = true; + #allow_outgoing_presence = true; + #presence_idle_timeout_s = 60; + #presence_offline_timeout_s = 180; max_concurrent_requests = 1000; @@ -31,7 +31,8 @@ allow_check_for_updates = false; allow_registration = false; - log = "info,state_res=info"; + #log = "info,state_res=info"; + #log = "debug"; }; }; systemd.services.matrix-conduit-reg-token = { diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix.nix b/host/Rory-nginx/services/nginx/rory.gay/matrix.nix index c7b3e5d..7af0222 100755 --- a/host/Rory-nginx/services/nginx/rory.gay/matrix.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/matrix.nix @@ -26,9 +26,9 @@ locations."~ ^/_matrix/client/(r0|v3)/sync$" = { proxyPass = "http://generic_workers_upstream$request_uri"; extraConfig = '' - proxy_read_timeout 300; - proxy_connect_timeout 300; - proxy_send_timeout 300; + proxy_read_timeout 3600; + proxy_connect_timeout 3600; + proxy_send_timeout 3600; ''; }; locations."~ ^/_matrix/client/(api/v1|r0|v3)/events$" = { -- cgit 1.4.1