Software / code / prosody
Annotate
lxmppd.cfg.dist @ 39:89877d61ac51
Add support for arbitrary events and event hooks
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 03 Oct 2008 22:17:20 +0100 |
| parent | 36:62998e5319e3 |
| child | 205:4ca91e0551b2 |
| 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 |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 sessions = {}; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 hosts = { |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
5 ["localhost"] = { |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
6 type = "local"; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
7 connected = true; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 sessions = {}; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
9 }; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
10 ["getjabber.ath.cx"] = { |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
11 type = "local"; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
12 connected = true; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
13 sessions = {}; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
14 }; |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
15 } |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
16 |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
17 -- If the following is not defined, no SSL will be set up on 5223 |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
18 ssl_ctx = { |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
19 mode = "server", |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
20 protocol = "sslv23", |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
21 |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
22 key = "/home/matthew/ssl_cert/server.key", |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
23 certificate = "/home/matthew/ssl_cert/server.crt", |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
24 capath = "/etc/ssl/certs", verify = "none", |
|
62998e5319e3
Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
25 } |