diff mod_http_upload/README.markdown @ 2683:d0948bd96a7b

mod_http_upload: Add support for limiting file types to upload
author Kim Alvefur <zash@zash.se>
date Thu, 13 Apr 2017 20:29:41 +0200
parents 5f60dd12dbb8
children d48faff92490
line wrap: on
line diff
--- a/mod_http_upload/README.markdown	Thu Apr 13 20:26:24 2017 +0200
+++ b/mod_http_upload/README.markdown	Thu Apr 13 20:29:41 2017 +0200
@@ -55,6 +55,14 @@
 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
 ----