Diff

mod_http_upload/README.markdown @ 2677:6daaa1ad2559

mod_http_upload: Add option for expiry of files after a configurable time (closes #557)
author Kim Alvefur <zash@zash.se>
date Thu, 13 Apr 2017 16:31:00 +0200
parent 2641:2d83e6c8160b
child 2678:2dec7cad9218
line wrap: on
line diff
--- a/mod_http_upload/README.markdown	Mon Apr 10 21:09:44 2017 +0200
+++ b/mod_http_upload/README.markdown	Thu Apr 13 16:31:00 2017 +0200
@@ -37,6 +37,12 @@
 
 This can not be set over the value of `http_max_content_size` (default 10M).
 
+Files can be set to be deleted after some time:
+
+``` lua
+http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds
+```
+
 Path
 ----