aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/siteadmin/deploying.rst
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2020-05-13 13:22:11 +1000
committerBen Sturmfels <ben@sturm.com.au>2020-05-13 13:22:11 +1000
commit5224d700dde21342535e0e79b3c521dd447aed21 (patch)
treed0f3bcd1d099c22a04b95d3d887479b221fe9cf4 /docs/source/siteadmin/deploying.rst
parent243354b65e1c2793f12d01d8174e9a168eb01ecd (diff)
downloadmediagoblin-5224d700dde21342535e0e79b3c521dd447aed21.tar.lz
mediagoblin-5224d700dde21342535e0e79b3c521dd447aed21.tar.xz
mediagoblin-5224d700dde21342535e0e79b3c521dd447aed21.zip
Increase Nginx upload limit to 100m, improve related docs [#5496].
By increasing the limit from 8m to 100m, we should immediately fix initial problems for people trying to upload audio or video. From there, they can read the documentation more closely when they try to upload larger files.
Diffstat (limited to 'docs/source/siteadmin/deploying.rst')
-rw-r--r--docs/source/siteadmin/deploying.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst
index e3780325..9c88a04d 100644
--- a/docs/source/siteadmin/deploying.rst
+++ b/docs/source/siteadmin/deploying.rst
@@ -408,8 +408,11 @@ should be modeled on the following::
# This is the section you should read
#####################################
- # Change this to update the upload size limit for your users
- client_max_body_size 8m;
+ # Change this to allow your users to upload larger files. If
+ # you enable audio or video you will need to increase this. This
+ # is essentially a security setting to prevent *extremely* large
+ # files being uploaded. Example settings include 500m and 1g.
+ client_max_body_size 100m;
# prevent attacks (someone uploading a .txt file that the browser
# interprets as an HTML file, etc.)