We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5856e22 commit 256c5d8Copy full SHA for 256c5d8
2 files changed
changelog.d/7251.doc
@@ -0,0 +1 @@
1
+Modify suggested nginx reverse proxy configuration to match Synapse's default file upload size. Contributed by @ProCycleDev.
docs/reverse_proxy.md
@@ -42,6 +42,9 @@ the reverse proxy and the homeserver.
42
location /_matrix {
43
proxy_pass http://localhost:8008;
44
proxy_set_header X-Forwarded-For $remote_addr;
45
+ # Nginx by default only allows file uploads up to 1M in size
46
+ # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
47
+ client_max_body_size 10M;
48
}
49
50
0 commit comments