comparison mod_http_upload/README.markdown @ 1967:2ce2b194d501

mod_http_upload: Make file system path configurable
author Kim Alvefur <zash@zash.se>
date Fri, 11 Dec 2015 18:20:14 +0100
parents 188c38c1a711
children ad2966b932ed
comparison
equal deleted inserted replaced
1966:3b748666ff97 1967:2ce2b194d501
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 = 10 * 1024 * 1024 -- this is 10MB in bytes
59 ``` 59 ```
60 60
61 Path
62 ----
63
64 By default, uploaded files are put in a sub-directory of the default
65 Prosody storage path (usually `/var/lib/prosody`). This can be changed:
66
67 ``` {.lua}
68 http_upload_path = "/path/to/uploded/files"
69 ```
70
61 Compatibility 71 Compatibility
62 ============= 72 =============
63 73
64 Works with Prosody 0.9.x and later. 74 Works with Prosody 0.9.x and later.