Software /
code /
prosody
Annotate
lxmppd.cfg.dist @ 254:6eb3dea1d68b
Another small fix, for logging in s2smanager
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 02:12:08 +0000 |
parent | 235:6526df1a7277 |
rev | line source |
---|---|
36
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 |
205
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
2 ---- lxmppd configuration file ---- |
36
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 |
218
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
4 config = { |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
5 hosts = { -- local hosts |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
6 "localhost"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
7 --"snikket.com"; |
205
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
8 }; |
218
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
9 -- If the following is commented, no SSL will be set up on 5223 |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
10 --[[ssl_ctx = { |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
11 mode = "server"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
12 protocol = "sslv23"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
13 |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
14 key = "/home/matthew/ssl_cert/server.key"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
15 certificate = "/home/matthew/ssl_cert/server.crt"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
16 capath = "/etc/ssl/certs"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
17 verify = "none"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
18 };]] |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
19 modules = { -- enabled modules |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
20 "saslauth"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
21 "legacyauth"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
22 "roster"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
23 "register"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
24 "tls"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
25 "vcard"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
26 "private"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
27 "version"; |
1263896ab2f1
Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents:
205
diff
changeset
|
28 "dialback"; |
235
6526df1a7277
Added mod_uptime: [XEP-0012: Last Activity] queries now work when directed at the server.
Waqas Hussain <waqas20@gmail.com>
parents:
218
diff
changeset
|
29 "uptime"; |
205
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
30 }; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
31 } |