Comparison

mod_http_upload/README.markdown @ 1851:03c5639882a7

mod_http_upload: Add support for a file size limit
author Kim Alvefur <zash@zash.se>
date Mon, 14 Sep 2015 12:49:54 +0200
parent 1847:cd98a1103ecf
child 1860:8e5ee3b09e9d
comparison
equal deleted inserted replaced
1850:e3a0ebe671cc 1851:03c5639882a7
37 modules_enabled = { 37 modules_enabled = {
38 -- other modules 38 -- other modules
39 "http_upload"; 39 "http_upload";
40 } 40 }
41 41
42 Limits
43 ------
44
45 A maximum file size can be set by:
46
47 ``` {.lua}
48 http_upload_file_size_limit = 10 * 1024 * 1024 -- this is 10MB in bytes
49 ```
50
42 Compatibility 51 Compatibility
43 ============= 52 =============
44 53
45 Works with Prosody 0.9.x and later. 54 Works with Prosody 0.9.x and later.