Diff

mod_http_upload_external/README.markdown @ 4509:16995e7624f0

mod_http_upload_external: add access control option
author Nicolas Cedilnik <nicoco@nicoco.fr>
date Sun, 14 Mar 2021 17:19:38 +0100
parent 3959:5741e6511f3d
child 4556:c149edb37349
line wrap: on
line diff
--- a/mod_http_upload_external/README.markdown	Fri Mar 12 21:32:03 2021 +0100
+++ b/mod_http_upload_external/README.markdown	Sun Mar 14 17:19:38 2021 +0100
@@ -10,7 +10,7 @@
 over HTTP to an external web server.
 
 This module generates URLs that are signed using a HMAC. Any web service that can authenticate
-these URLs can be used. 
+these URLs can be used.
 
 Implementations
 ---------------
@@ -20,7 +20,7 @@
 * [Go implementation, Prosody Filer](https://github.com/ThomasLeister/prosody-filer)
 * [Perl implementation for nginx](https://github.com/weiss/ngx_http_upload)
 
-To implement your own service compatible with this module, check out the implementation notes below 
+To implement your own service compatible with this module, check out the implementation notes below
 (and if you publish your implementation - let us know!).
 
 Configuration
@@ -71,6 +71,16 @@
 
 Default is 100MB (100\*1024\*1024).
 
+Access
+------
+
+You may want to give upload access to additional entities such as components
+by using the `http_upload_access` config option.
+
+``` {.lua}
+http_upload_access = {"gateway.example.com"};
+```
+
 Compatibility
 =============