From db114e8e3f6e97ac142b8836b1a4e5db301e6d50 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 3 Nov 2008 07:48:39 +0500 Subject: Reformatted lxmppd.cfg.dist and removed redundant variable --- lxmppd.cfg.dist | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/lxmppd.cfg.dist b/lxmppd.cfg.dist index b1b0d9ad..c743f2cb 100644 --- a/lxmppd.cfg.dist +++ b/lxmppd.cfg.dist @@ -1,25 +1,26 @@ +---- lxmppd configuration file ---- -sessions = {}; -hosts = { - ["localhost"] = { - type = "local"; - connected = true; - sessions = {}; - }; - ["getjabber.ath.cx"] = { - type = "local"; - connected = true; - sessions = {}; - }; - } - --- 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", - } +-- define the local hosts +hosts = { + ["localhost"] = { + type = "local"; + connected = true; + sessions = {}; + }; + ["getjabber.ath.cx"] = { + type = "local"; + connected = true; + sessions = {}; + }; +} + +-- 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", +} -- cgit v1.2.3