Software / code / prosody-modules
Comparison
mod_http_upload/README.markdown @ 2678:2dec7cad9218
mod_http_upload: Implement quota support (closes #823)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 13 Apr 2017 16:35:10 +0200 |
| parent | 2677:6daaa1ad2559 |
| child | 2679:5f60dd12dbb8 |
comparison
equal
deleted
inserted
replaced
| 2677:6daaa1ad2559 | 2678:2dec7cad9218 |
|---|---|
| 41 | 41 |
| 42 ``` lua | 42 ``` lua |
| 43 http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds | 43 http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds |
| 44 ``` | 44 ``` |
| 45 | 45 |
| 46 A total maximum size of all uploaded files per user can be set by: | |
| 47 | |
| 48 ``` lua | |
| 49 http_upload_quota = 1234 -- bytes | |
| 50 ``` | |
| 51 | |
| 46 Path | 52 Path |
| 47 ---- | 53 ---- |
| 48 | 54 |
| 49 By default, uploaded files are put in a sub-directory of the default | 55 By default, uploaded files are put in a sub-directory of the default |
| 50 Prosody storage path (usually `/var/lib/prosody`). This can be changed: | 56 Prosody storage path (usually `/var/lib/prosody`). This can be changed: |