Software / code / prosody
Comparison
lxmppd.cfg.dist @ 36:62998e5319e3
Moved hosts to a config file, still need better config though
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 01 Oct 2008 22:11:28 +0100 |
| child | 205:4ca91e0551b2 |
comparison
equal
deleted
inserted
replaced
| 35:3faa593c7e0f | 36:62998e5319e3 |
|---|---|
| 1 | |
| 2 | |
| 3 sessions = {}; | |
| 4 hosts = { | |
| 5 ["localhost"] = { | |
| 6 type = "local"; | |
| 7 connected = true; | |
| 8 sessions = {}; | |
| 9 }; | |
| 10 ["getjabber.ath.cx"] = { | |
| 11 type = "local"; | |
| 12 connected = true; | |
| 13 sessions = {}; | |
| 14 }; | |
| 15 } | |
| 16 | |
| 17 -- If the following is not defined, no SSL will be set up on 5223 | |
| 18 ssl_ctx = { | |
| 19 mode = "server", | |
| 20 protocol = "sslv23", | |
| 21 | |
| 22 key = "/home/matthew/ssl_cert/server.key", | |
| 23 certificate = "/home/matthew/ssl_cert/server.crt", | |
| 24 capath = "/etc/ssl/certs", verify = "none", | |
| 25 } |