summary refs log tree commit diff
diff options
context:
space:
mode:
-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 "";
                 '';