changeset 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 (2020-03-30)
parents 5741e6511f3d
children 6fd9c9708422
files mod_http_upload/README.markdown
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_upload/README.markdown	Mon Mar 30 19:15:04 2020 +0200
+++ b/mod_http_upload/README.markdown	Mon Mar 30 19:20:09 2020 +0200
@@ -24,6 +24,19 @@
 
 It should **not** be added to modules_enabled.
 
+## Discoverability
+
+Prosody makes subdomains of your VirtualHosts easily discoverable by
+clients. To make the component discoverable by other hosts, use
+[`disco_items`][doc:modules:mod_disco#configuration].
+
+``` {.lua}
+VirtualHost "foo.example.org"
+disco_items = {
+    { "upload.example.com" },
+}
+```
+
 Limits
 ------