1 |
1 |
|
2 ---- lxmppd configuration file ---- |
2 |
3 |
3 sessions = {}; |
4 -- define the local hosts |
4 hosts = { |
5 hosts = { |
5 ["localhost"] = { |
6 ["localhost"] = { |
6 type = "local"; |
7 type = "local"; |
7 connected = true; |
8 connected = true; |
8 sessions = {}; |
9 sessions = {}; |
9 }; |
10 }; |
10 ["getjabber.ath.cx"] = { |
11 ["getjabber.ath.cx"] = { |
11 type = "local"; |
12 type = "local"; |
12 connected = true; |
13 connected = true; |
13 sessions = {}; |
14 sessions = {}; |
14 }; |
15 }; |
15 } |
16 } |
16 |
17 |
17 -- If the following is not defined, no SSL will be set up on 5223 |
18 -- if the following is not defined, no SSL will be set up on 5223 |
18 ssl_ctx = { |
19 ssl_ctx = { |
19 mode = "server", |
20 mode = "server", |
20 protocol = "sslv23", |
21 protocol = "sslv23", |
21 |
22 |
22 key = "/home/matthew/ssl_cert/server.key", |
23 key = "/home/matthew/ssl_cert/server.key", |
23 certificate = "/home/matthew/ssl_cert/server.crt", |
24 certificate = "/home/matthew/ssl_cert/server.crt", |
24 capath = "/etc/ssl/certs", verify = "none", |
25 capath = "/etc/ssl/certs", verify = "none", |
25 } |
26 } |