Software /
code /
prosody-modules
File
mod_http_upload/README.markdown @ 1923:b030e46ec640
mod_cloud_notify: Send notification from bare user JID per http://xmpp.org/extensions/xep-0357.html#publishing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Oct 2015 15:51:09 +0200 |
parent | 1913:188c38c1a711 |
child | 1967:2ce2b194d501 |
line wrap: on
line source
--- labels: Stage-Alpha description: HTTP File Upload ... Introduction ============ This module implements [XEP-0363], which lets clients upload files over HTTP. Configuration ============= mod\_http\_upload relies on Prosodys HTTP server and mod\_http for serving HTTP requests. See [Prosodys HTTP server 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: 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 ------ A maximum file size can be set by: ``` {.lua} http_upload_file_size_limit = 10 * 1024 * 1024 -- this is 10MB in bytes ``` Compatibility ============= Works with Prosody 0.9.x and later.