diff options
-rw-r--r-- | lxmppd.cfg.dist | 47 |
1 files 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", +} |