diff options
author | Rory& <root@rory.gay> | 2024-08-17 18:38:59 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-08-17 18:38:59 +0200 |
commit | b91453a8920d8de6d778e6a4554911ff0e7bb82c (patch) | |
tree | 1f24a6cb7e2a157f17e3d9efe112dc2bb16839de | |
parent | Fix synapse paths? (diff) | |
download | Rory-Open-Architecture-b91453a8920d8de6d778e6a4554911ff0e7bb82c.tar.xz |
Fix media upload limit?
-rwxr-xr-x | host/Rory-nginx/services/matrix/synapse/synapse-main.nix | 1 | ||||
-rw-r--r-- | host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix | 1 |
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 ""; ''; |