Comparison

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
parent 3360:0149954cee37
child 4509:16995e7624f0
comparison
equal deleted inserted replaced
3958:cacd753848b2 3959:5741e6511f3d
24 (and if you publish your implementation - let us know!). 24 (and if you publish your implementation - let us know!).
25 25
26 Configuration 26 Configuration
27 ============= 27 =============
28 28
29 Add `"http_upload_external"` to modules_enabled in your global section, or under the host(s) you wish 29 The module can be added as a new Component definition:
30 to use it on. 30
31 ``` {.lua}
32 Component "upload.example.org" "http_upload_external"
33 http_upload_external_base_url = "https://your.example.com/upload/service"
34 http_upload_external_secret = "your shared secret"
35 ```
36
37 It should **not** be added to modules_enabled.
38
31 39
32 External URL 40 External URL
33 ------------ 41 ------------
34 42
35 You need to provide the path to the external service. Ensure it ends with '/'. 43 You need to provide the path to the external service. Ensure it ends with '/'.