Mercurial > prosody-modules
diff mod_http_upload/README.markdown @ 2215:e276ed33bc1a
mod_http_upload/README: Simplify instructions, show only one method
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Jun 2016 14:35:14 +0200 |
parents | 40056a27f394 |
children | 1266f5c17c0d |
line wrap: on
line diff
--- a/mod_http_upload/README.markdown Wed Jun 22 22:27:22 2016 +0200 +++ b/mod_http_upload/README.markdown Fri Jun 24 14:35:14 2016 +0200 @@ -17,38 +17,10 @@ documentation](https://prosody.im/doc/http) for information about how to configure ports, HTTP Host names etc. -The module can either be configured as a component or added to an -existing host or component. Possible configuration variants are as -follows: - -Component ---------- - -You can configure it as a standalone component: +Simply add a new Component definition: Component "upload.example.org" "http_upload" -Existing component ------------------- - -Or add it to an existing component: - - Component "proxy.example.org" "proxy65" - modules_enabled = { - "http_upload"; - } - -On VirtualHosts ---------------- - -Or load it directly on hosts: - - -- In the Global section or under a specific VirtualHosts line - modules_enabled = { - -- other modules - "http_upload"; - } - Limits ------