# HG changeset patch # User Kim Alvefur # Date 1471710823 -7200 # Node ID 1266f5c17c0d0b7ddc1ec68301604f30fb871b98 # Parent bd1117002a9b5e66c873f606a58cfa189d575882 mod_http_upload: Mention modules_enabled, but no example diff -r bd1117002a9b -r 1266f5c17c0d mod_http_upload/README.markdown --- a/mod_http_upload/README.markdown Sat Aug 20 17:44:44 2016 +0200 +++ b/mod_http_upload/README.markdown Sat Aug 20 18:33:43 2016 +0200 @@ -1,25 +1,28 @@ --- -labels: Stage-Alpha description: HTTP File Upload -... +labels: 'Stage-Alpha' +--- Introduction ============ -This module implements [XEP-0363], which lets clients upload files over -HTTP. +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. +serving HTTP requests. See [Prosodys HTTP server documentation][doc:http] +for information about how to configure ports, HTTP Host names etc. + +The module can be added as a new Component definition: -Simply add a new Component definition: +``` {.lua} +Component "upload.example.org" "http_upload" +``` - Component "upload.example.org" "http_upload" +Alternatively it can be added to `modules_enabled` like other modules. Limits ------ @@ -30,7 +33,7 @@ http_upload_file_size_limit = 123 -- bytes ``` -Default is 1MB (1024*1024). +Default is 1MB (1024\*1024). Path ----