diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2020-05-13 13:22:11 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-05-13 13:22:11 +1000 |
commit | 5224d700dde21342535e0e79b3c521dd447aed21 (patch) | |
tree | d0f3bcd1d099c22a04b95d3d887479b221fe9cf4 /docs/source/siteadmin/deploying.rst | |
parent | 243354b65e1c2793f12d01d8174e9a168eb01ecd (diff) | |
download | mediagoblin-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.rst | 7 |
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.) |