summaryrefslogtreecommitdiff
path: root/DEPLOY.md
diff options
context:
space:
mode:
authorNabulator <studioscws@gmail.com>2022-10-27 04:20:56 +0000
committerNabulator <studioscws@gmail.com>2022-10-27 04:20:56 +0000
commit238ebcfcac94973c486653f9e5ad3ca35753c9c5 (patch)
treee87be1f7c10423886ddcbedc455fc6bd6413e609 /DEPLOY.md
parent876fdf480df7dd786d144f0f221029924c0083ef (diff)
downloadconduit-238ebcfcac94973c486653f9e5ad3ca35753c9c5.zip
Update nginx configuration to allow for larger uploads.
Diffstat (limited to 'DEPLOY.md')
-rw-r--r--DEPLOY.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/DEPLOY.md b/DEPLOY.md
index 1c7d1af..a248d81 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -214,6 +214,9 @@ server {
server_name your.server.name; # EDIT THIS
merge_slashes off;
+ # Nginx default to only allow 1MB uploads.
+ client_max_body_size 20M;
+
location /_matrix/ {
proxy_pass http://127.0.0.1:6167$request_uri;
proxy_set_header Host $http_host;