X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=lxmppd.cfg.dist;h=59b85b9714f84f1e1ec6feea464ba760141c4506;hb=b0f59d5244cea85aa3a6c8230cbed3923fcfce9c;hp=b1b0d9ad84f88fea4e0646e35f5f433a76b6012a;hpb=9a0768af5b0f89a9510440280ef9c5437bf64d2d;p=prosody.git diff --git a/lxmppd.cfg.dist b/lxmppd.cfg.dist index b1b0d9ad..59b85b97 100644 --- a/lxmppd.cfg.dist +++ b/lxmppd.cfg.dist @@ -1,25 +1,31 @@ +---- 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", - } +config = { + hosts = { -- local hosts + "localhost"; + --"snikket.com"; + }; + -- If the following is commented, 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"; + };]] + modules = { -- enabled modules + "saslauth"; + "legacyauth"; + "roster"; + "register"; + "tls"; + "vcard"; + "private"; + "version"; + "dialback"; + "uptime"; + }; +}