Diff

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
parent 1913:188c38c1a711
child 2052:ad2966b932ed
line wrap: on
line diff
--- a/mod_http_upload/README.markdown	Fri Dec 11 18:00:43 2015 +0100
+++ b/mod_http_upload/README.markdown	Fri Dec 11 18:20:14 2015 +0100
@@ -58,6 +58,16 @@
 http_upload_file_size_limit = 10 * 1024 * 1024 -- this is 10MB in bytes
 ```
 
+Path
+----
+
+By default, uploaded files are put in a sub-directory of the default
+Prosody storage path (usually `/var/lib/prosody`). This can be changed:
+
+``` {.lua}
+http_upload_path = "/path/to/uploded/files"
+```
+
 Compatibility
 =============