Comparison

mod_s2soutinjection/README.markdown @ 4931:f4a9e804c457

mod_s2soutinjection: Rewrite based on mod_onions for 0.12 compat (thanks Zash)
author moparisthebest <admin@moparisthebest.com>
date Sun, 24 Apr 2022 23:58:41 -0400
parent 1999:e3e76e9693a1
comparison
equal deleted inserted replaced
4930:13070c6a7ce8 4931:f4a9e804c457
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