diff mod_http_upload/README.markdown @ 2284:1266f5c17c0d

mod_http_upload: Mention modules_enabled, but no example
author Kim Alvefur <zash@zash.se>
date Sat, 20 Aug 2016 18:33:43 +0200
parents e276ed33bc1a
children 8fad27d568aa
line wrap: on
line diff
--- 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
 ----