Mercurial > prosody-modules
diff mod_http_upload_external/README.markdown @ 3959:5741e6511f3d
mod_http_upload_external: Discourage loading via modules_enabled
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 30 Mar 2020 19:15:04 +0200 |
parents | 0149954cee37 |
children | 16995e7624f0 |
line wrap: on
line diff
--- a/mod_http_upload_external/README.markdown Mon Mar 30 16:29:44 2020 +0200 +++ b/mod_http_upload_external/README.markdown Mon Mar 30 19:15:04 2020 +0200 @@ -26,8 +26,16 @@ Configuration ============= -Add `"http_upload_external"` to modules_enabled in your global section, or under the host(s) you wish -to use it on. +The module can be added as a new Component definition: + +``` {.lua} +Component "upload.example.org" "http_upload_external" +http_upload_external_base_url = "https://your.example.com/upload/service" +http_upload_external_secret = "your shared secret" +``` + +It should **not** be added to modules_enabled. + External URL ------------