Mercurial > prosody-wiki
comparison mod_srvinjection.wiki @ 164:5417e7610ad4
mod_srvinjection: Update docs for wildcard host support.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 09 Feb 2011 16:37:51 +0500 |
parents | 90b363bc0fb8 |
children | 44f9d6dae0cc |
comparison
equal
deleted
inserted
replaced
163:85482789e90e | 164:5417e7610ad4 |
---|---|
17 }; | 17 }; |
18 }}} | 18 }}} |
19 | 19 |
20 The format for individual items is `["remote-hostname"] = {"srv-hostname", srv-port};`. | 20 The format for individual items is `["remote-hostname"] = {"srv-hostname", srv-port};`. |
21 | 21 |
22 The special remote hostname "*" can be used as a wildcard: | |
23 {{{ | |
24 srvinjection = { ["*"] = {"xmpp-server.l.google.com", 5269} } -- Use Google's XMPP server for all hostnames | |
25 }}} | |
26 | |
22 = Reloading = | 27 = Reloading = |
23 The module can be reloaded via the telnet console. Edit the config file to make any updates. | 28 The module can be reloaded via the telnet console. Edit the config file to make any updates. |
24 | 29 |
25 You can reload the configuration from disk: | 30 You can reload the configuration from disk: |
26 {{{ | 31 {{{ |