aboutsummaryrefslogtreecommitdiff
path: root/config.sample.js
diff options
context:
space:
mode:
authorKanacchi <[email protected]>2017-03-26 12:09:36 +0200
committerGitHub <[email protected]>2017-03-26 12:09:36 +0200
commit5951803f662c1cda92262843a146726558495942 (patch)
treeadfdf4f1e04acec573a530888ffc44d9d095dae4 /config.sample.js
parentDerps were made, and now fixed (diff)
parentUpdate config.sample.js (diff)
downloadhost.fuwn.me-5951803f662c1cda92262843a146726558495942.tar.xz
host.fuwn.me-5951803f662c1cda92262843a146726558495942.zip
Merge pull request #21 from RyoshiKayo/patch-2
client_max_body_size reminder
Diffstat (limited to 'config.sample.js')
-rw-r--r--config.sample.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.sample.js b/config.sample.js
index 53c6b11..49a66ec 100644
--- a/config.sample.js
+++ b/config.sample.js
@@ -41,6 +41,9 @@ module.exports = {
folder: 'uploads',
// Max file size allowed. Needs to be in MB
+ // Note: When maxSize is greater than 1 MiB,
+ // you must set the client_max_body_size
+ // to the same as maxSize.
maxSize: '512MB',
// The length of the random generated name for the uploaded files