Skip to content

Commit

Permalink
*: add a note to config.in.js file size limit setting
Browse files Browse the repository at this point in the history
  • Loading branch information
yusshu authored Sep 3, 2023
1 parent cf75740 commit 107c3b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config.in.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ export default {
route: '/tempfiles',
lifetime: 5 * 60 * 1000, // file lifetime, 5 minutes should be enough
limits: {
size: 5e+6, // 5MB by default
// The file size limit for the temporal file server,
// (5MB by default) Please note that some reverse proxies
// like Nginx have their own limit (Default Nginx limit is 1MB)
// and you must configure that manually (With the client_max_body_size
// option)
size: 5e+6,
}
}
}
Expand Down

0 comments on commit 107c3b8

Please sign in to comment.