diff mod_http_upload/README.markdown @ 1851:03c5639882a7

mod_http_upload: Add support for a file size limit
author Kim Alvefur <zash@zash.se>
date Mon, 14 Sep 2015 12:49:54 +0200
parents cd98a1103ecf
children 8e5ee3b09e9d
line wrap: on
line diff
--- a/mod_http_upload/README.markdown	Mon Sep 14 12:45:00 2015 +0200
+++ b/mod_http_upload/README.markdown	Mon Sep 14 12:49:54 2015 +0200
@@ -39,6 +39,15 @@
       "http_upload";
     }
 
+Limits
+------
+
+A maximum file size can be set by:
+
+``` {.lua}
+http_upload_file_size_limit = 10 * 1024 * 1024 -- this is 10MB in bytes
+```
+
 Compatibility
 =============