aboutsummaryrefslogtreecommitdiffstats
path: root/lxmppd.cfg.dist
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-06 16:52:39 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-06 16:52:39 +0500
commit0ff2eacdaff1bd87affc600c35d005a34eda9e04 (patch)
tree66bfcea881df68fb07476ac90a394a337105d66a /lxmppd.cfg.dist
parentfa5531fe41a1998d31360a4c28a72984247b0493 (diff)
downloadprosody-0ff2eacdaff1bd87affc600c35d005a34eda9e04.tar.gz
prosody-0ff2eacdaff1bd87affc600c35d005a34eda9e04.zip
Reworked the way lxmppd.cfg is used
Diffstat (limited to 'lxmppd.cfg.dist')
-rw-r--r--lxmppd.cfg.dist44
1 files changed, 24 insertions, 20 deletions
diff --git a/lxmppd.cfg.dist b/lxmppd.cfg.dist
index c743f2cb..b523c697 100644
--- a/lxmppd.cfg.dist
+++ b/lxmppd.cfg.dist
@@ -1,26 +1,30 @@
---- lxmppd configuration file ----
--- define the local hosts
-hosts = {
- ["localhost"] = {
- type = "local";
- connected = true;
- sessions = {};
+config = {
+ hosts = { -- local hosts
+ "localhost";
+ --"snikket.com";
};
- ["getjabber.ath.cx"] = {
- type = "local";
- connected = true;
- sessions = {};
- };
-}
+ -- If the following is commented, no SSL will be set up on 5223
+ --[[ssl_ctx = {
+ mode = "server";
+ protocol = "sslv23";
--- if the following is not defined, no SSL will be set up on 5223
-ssl_ctx = {
- mode = "server",
- protocol = "sslv23",
-
- key = "/home/matthew/ssl_cert/server.key",
- certificate = "/home/matthew/ssl_cert/server.crt",
- capath = "/etc/ssl/certs", verify = "none",
+ key = "/home/matthew/ssl_cert/server.key";
+ certificate = "/home/matthew/ssl_cert/server.crt";
+ capath = "/etc/ssl/certs";
+ verify = "none";
+ };]]
+ modules = { -- enabled modules
+ "saslauth";
+ "legacyauth";
+ "roster";
+ "register";
+ "tls";
+ "vcard";
+ "private";
+ "version";
+ "dialback";
+ };
}