mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Reformatted lxmppd.cfg.dist and removed redundant variable
This commit is contained in:
parent
2232d4a893
commit
db114e8e3f
1 changed files with 24 additions and 23 deletions
|
@ -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",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue