comparison mod_http_upload/README.markdown @ 3960:c8e4efef5cdb

mod_http_upload/README: Add example disco_items use
author Kim Alvefur <zash@zash.se>
date Mon, 30 Mar 2020 19:20:09 +0200
parents 9f0c10bd4633
children acd231e2b46f
comparison
equal deleted inserted replaced
3959:5741e6511f3d 3960:c8e4efef5cdb
21 ``` {.lua} 21 ``` {.lua}
22 Component "upload.example.org" "http_upload" 22 Component "upload.example.org" "http_upload"
23 ``` 23 ```
24 24
25 It should **not** be added to modules_enabled. 25 It should **not** be added to modules_enabled.
26
27 ## Discoverability
28
29 Prosody makes subdomains of your VirtualHosts easily discoverable by
30 clients. To make the component discoverable by other hosts, use
31 [`disco_items`][doc:modules:mod_disco#configuration].
32
33 ``` {.lua}
34 VirtualHost "foo.example.org"
35 disco_items = {
36 { "upload.example.com" },
37 }
38 ```
26 39
27 Limits 40 Limits
28 ------ 41 ------
29 42
30 ### Max size 43 ### Max size