Browse Source

client_max_body_size reminder

Caroline 7 years ago
parent
commit
823e53e77f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      config.sample.js

+ 3 - 0
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