Mercurial > prosody-modules
diff mod_http_upload/README.markdown @ 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 |
parents | 2dec7cad9218 |
children | d0948bd96a7b |
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