From 823e53e77f16cc6a264092bb620c08daca2b7259 Mon Sep 17 00:00:00 2001 From: Caroline Date: Sun, 26 Mar 2017 03:05:00 -0700 Subject: [PATCH 1/2] client_max_body_size reminder --- config.sample.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.sample.js b/config.sample.js index 53c6b11..15c90c9 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 From 652365497dc9e112638558c89a271db7606dd9cd Mon Sep 17 00:00:00 2001 From: Crawl Date: Sun, 26 Mar 2017 12:07:11 +0200 Subject: [PATCH 2/2] Update config.sample.js --- config.sample.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.sample.js b/config.sample.js index 15c90c9..49a66ec 100644 --- a/config.sample.js +++ b/config.sample.js @@ -42,8 +42,8 @@ module.exports = { // 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. + // 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