Mercurial > prosody-modules
comparison mod_discodot/README.md @ 5975:fe081789f7b5
All community modules: Unify file extention of Markdown files to .md
| author | Menel <menel@snikket.de> |
|---|---|
| date | Tue, 22 Oct 2024 10:26:01 +0200 |
| parents | mod_discodot/README.markdown@253df0798996 |
| children |
comparison
equal
deleted
inserted
replaced
| 5974:5a65a632d5b9 | 5975:fe081789f7b5 |
|---|---|
| 1 # Flowcharts! | |
| 2 | |
| 3 Put this module somewhere Prosody will find it and then run | |
| 4 `prosodyctl mod_discodot | dot -Tsvg -o disco-graph.svg` to receive a | |
| 5 graph like this[^1]: | |
| 6 | |
| 7 +------------------------+ +------------------------------------------+ | |
| 8 | proxy.external.example | <-- | VirtualHost "example.com" | -+ | |
| 9 +------------------------+ +------------------------------------------+ | | |
| 10 | | | |
| 11 | | | |
| 12 v | | |
| 13 +------------------------------------------+ | | |
| 14 | Component "conference.example.com" "muc" | <+ | |
| 15 +------------------------------------------+ | |
| 16 | |
| 17 Example config for the above: | |
| 18 | |
| 19 ``` {.lua} | |
| 20 VirtualHost "xmpp.example.com" | |
| 21 disco_items = { | |
| 22 { "conference.example.com"; }; | |
| 23 { "proxy.external.example"; }; | |
| 24 } | |
| 25 | |
| 26 Component "conference.example.com" "muc" | |
| 27 ``` | |
| 28 | |
| 29 Note the `disco_items` entry causing duplication since subdomains are | |
| 30 implicitly added. | |
| 31 | |
| 32 [^1]: this was actuall made with `graph-easy` |
