summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-08-17 18:38:59 +0200
committerRory& <root@rory.gay>2024-08-17 18:38:59 +0200
commitb91453a8920d8de6d778e6a4554911ff0e7bb82c (patch)
tree1f24a6cb7e2a157f17e3d9efe112dc2bb16839de
parentFix synapse paths? (diff)
downloadRory-Open-Architecture-b91453a8920d8de6d778e6a4554911ff0e7bb82c.tar.xz
Fix media upload limit?
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse/synapse-main.nix1
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix1
2 files changed, 1 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/synapse-main.nix b/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
index d69d7c6..9032423 100755
--- a/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
+++ b/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
@@ -26,7 +26,6 @@
     enableBackgroundWorker = true;
     enableUserDirWorker = true;
 
-    #enableStreamWriters = false;
     eventStreamWriters = 8;
 
     # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
index 4394e10..62f3e9c 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
@@ -121,6 +121,7 @@ in
               value = {
                 proxyPass = "http://${workerName}-${type}";
                 extraConfig = ''
+                  client_max_body_size 512M;
                   proxy_http_version 1.1;
                   proxy_set_header Connection "";
                 '';