From 238ebcfcac94973c486653f9e5ad3ca35753c9c5 Mon Sep 17 00:00:00 2001
From: Nabulator <studioscws@gmail.com>
Date: Thu, 27 Oct 2022 04:20:56 +0000
Subject: [PATCH 1/2] Update nginx configuration to allow for larger uploads.

---
 DEPLOY.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/DEPLOY.md b/DEPLOY.md
index 1c7d1af5..a248d81f 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;

From 1aff2a54ef5ef571b622d5bb27710c3119b5714d Mon Sep 17 00:00:00 2001
From: Nabulator <studioscws@gmail.com>
Date: Thu, 27 Oct 2022 04:23:07 +0000
Subject: [PATCH 2/2] comment typo

---
 DEPLOY.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DEPLOY.md b/DEPLOY.md
index a248d81f..51f310e3 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -214,7 +214,7 @@ server {
     server_name your.server.name; # EDIT THIS
     merge_slashes off;
 
-    # Nginx default to only allow 1MB uploads. 
+    # Nginx defaults to only allow 1MB uploads
     client_max_body_size 20M;
 
     location /_matrix/ {