Mercurial > prosody-modules
changeset 2679:5f60dd12dbb8
mod_http_upload/README: Add sub-headings under limits
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 13 Apr 2017 16:36:25 +0200 (2017-04-13) |
parents | 2dec7cad9218 |
children | 96bf67f1f960 |
files | mod_http_upload/README.markdown |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_upload/README.markdown Thu Apr 13 16:35:10 2017 +0200 +++ b/mod_http_upload/README.markdown Thu Apr 13 16:36:25 2017 +0200 @@ -27,6 +27,8 @@ Limits ------ +### Max size + A maximum file size can be set by: ``` {.lua} @@ -37,12 +39,16 @@ This can not be set over the value of `http_max_content_size` (default 10M). +### Max age + Files can be set to be deleted after some time: ``` lua http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds ``` +### User quota + A total maximum size of all uploaded files per user can be set by: ``` lua