Mercurial > prosody-modules
comparison mod_s2soutinjection/README.markdown @ 4938:bc8832c6696b
upstream merge
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 11 May 2022 12:44:32 +0200 |
parents | f4a9e804c457 |
children |
comparison
equal
deleted
inserted
replaced
4913:3ddab718f717 | 4938:bc8832c6696b |
---|---|
14 modules_enabled = { | 14 modules_enabled = { |
15 --- your other modules | 15 --- your other modules |
16 "s2soutinjection"; | 16 "s2soutinjection"; |
17 } | 17 } |
18 | 18 |
19 -- targets must be IPs, not hostnames | |
19 s2s_connect_overrides = { | 20 s2s_connect_overrides = { |
20 -- This one will use the default port, 5269 | 21 -- This one will use the default port, 5269 |
21 ["example.com"] = "xmpp.server.local"; | 22 ["example.com"] = "1.2.3.4"; |
22 | 23 |
23 -- To set a different port: | 24 -- To set a different port: |
24 ["another.example"] = { "non-standard-port.example", 9999 }; | 25 ["another.example"] = { "127.0.0.1", 9999 }; |
25 } | 26 } |
26 ``` | 27 ``` |
27 | 28 |
28 # Compatibility | 29 # Compatibility |
29 | 30 |
30 Requires 0.9.x or later. | 31 Requires 0.9.x or later. Tested on 0.12.0 |