Mercurial > prosody-modules
diff mod_http_upload_external/README.markdown @ 3968:bf5d91769f99
Merge commit
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Sun, 05 Apr 2020 23:39:08 +0200 |
parents | 5741e6511f3d |
children | 16995e7624f0 |
line wrap: on
line diff
--- a/mod_http_upload_external/README.markdown Sun Apr 05 23:37:17 2020 +0200 +++ b/mod_http_upload_external/README.markdown Sun Apr 05 23:39:08 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 ------------