Software /
code /
prosody
Annotate
lxmppd.cfg.dist @ 209:e9de0803676d
Part one of internal component support
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 04 Nov 2008 18:15:56 +0000 |
parent | 205:4ca91e0551b2 |
child | 218:1263896ab2f1 |
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 |
205
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
4 -- define the local hosts |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
5 hosts = { |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
6 ["localhost"] = { |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
7 type = "local"; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
8 connected = true; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
9 sessions = {}; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
10 }; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
11 ["getjabber.ath.cx"] = { |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
12 type = "local"; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
13 connected = true; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
14 sessions = {}; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
15 }; |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
16 } |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
17 |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
18 -- if the following is not defined, no SSL will be set up on 5223 |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
19 ssl_ctx = { |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
20 mode = "server", |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
21 protocol = "sslv23", |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
22 |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
23 key = "/home/matthew/ssl_cert/server.key", |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
24 certificate = "/home/matthew/ssl_cert/server.crt", |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
25 capath = "/etc/ssl/certs", verify = "none", |
4ca91e0551b2
Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents:
36
diff
changeset
|
26 } |