diff mod_http_upload/README.markdown @ 2702:caabb980d1d8

Merge commit
author tmolitor <thilo@eightysoft.de>
date Mon, 24 Apr 2017 20:57:23 +0200
parents d0948bd96a7b
children d48faff92490
line wrap: on
line diff
--- a/mod_http_upload/README.markdown	Mon Apr 24 20:56:56 2017 +0200
+++ b/mod_http_upload/README.markdown	Mon Apr 24 20:57:23 2017 +0200
@@ -27,6 +27,8 @@
 Limits
 ------
 
+### Max size
+
 A maximum file size can be set by:
 
 ``` {.lua}
@@ -37,6 +39,30 @@
 
 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
+http_upload_quota = 1234 -- bytes
+```
+
+### File types
+
+Accepted file types can be limited by MIME type:
+
+``` lua
+http_upload_allowed_file_types = { "image/*", "text/plain" }
+```
+
 Path
 ----