comparison 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
comparison
equal deleted inserted replaced
2214:c2fc3516cca1 2215:e276ed33bc1a
15 mod\_http\_upload relies on Prosodys HTTP server and mod\_http for 15 mod\_http\_upload relies on Prosodys HTTP server and mod\_http for
16 serving HTTP requests. See [Prosodys HTTP server 16 serving HTTP requests. See [Prosodys HTTP server
17 documentation](https://prosody.im/doc/http) for information about how to 17 documentation](https://prosody.im/doc/http) for information about how to
18 configure ports, HTTP Host names etc. 18 configure ports, HTTP Host names etc.
19 19
20 The module can either be configured as a component or added to an 20 Simply add a new Component definition:
21 existing host or component. Possible configuration variants are as
22 follows:
23
24 Component
25 ---------
26
27 You can configure it as a standalone component:
28 21
29 Component "upload.example.org" "http_upload" 22 Component "upload.example.org" "http_upload"
30
31 Existing component
32 ------------------
33
34 Or add it to an existing component:
35
36 Component "proxy.example.org" "proxy65"
37 modules_enabled = {
38 "http_upload";
39 }
40
41 On VirtualHosts
42 ---------------
43
44 Or load it directly on hosts:
45
46 -- In the Global section or under a specific VirtualHosts line
47 modules_enabled = {
48 -- other modules
49 "http_upload";
50 }
51 23
52 Limits 24 Limits
53 ------ 25 ------
54 26
55 A maximum file size can be set by: 27 A maximum file size can be set by: