Mercurial > prosody-modules
comparison mod_http_upload/README.markdown @ 2052:ad2966b932ed
mod_http_upload/README: Mention default upload size limit and change example to something that nobody should copy
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Feb 2016 15:58:49 +0100 |
parents | 2ce2b194d501 |
children | 40056a27f394 |
comparison
equal
deleted
inserted
replaced
2051:cb0fc00a7086 | 2052:ad2966b932ed |
---|---|
53 ------ | 53 ------ |
54 | 54 |
55 A maximum file size can be set by: | 55 A maximum file size can be set by: |
56 | 56 |
57 ``` {.lua} | 57 ``` {.lua} |
58 http_upload_file_size_limit = 10 * 1024 * 1024 -- this is 10MB in bytes | 58 http_upload_file_size_limit = 123 -- bytes |
59 ``` | 59 ``` |
60 | |
61 Default is 10MB (10*1024*1024). | |
60 | 62 |
61 Path | 63 Path |
62 ---- | 64 ---- |
63 | 65 |
64 By default, uploaded files are put in a sub-directory of the default | 66 By default, uploaded files are put in a sub-directory of the default |