mirror of https://github.com/bjc/prosody
parent
fa5531fe41
commit
0ff2eacdaf
@ -1,26 +1,30 @@ |
||||
|
||||
---- lxmppd configuration file ---- |
||||
|
||||
-- define the local hosts |
||||
hosts = { |
||||
["localhost"] = { |
||||
type = "local"; |
||||
connected = true; |
||||
sessions = {}; |
||||
config = { |
||||
hosts = { -- local hosts |
||||
"localhost"; |
||||
--"snikket.com"; |
||||
}; |
||||
["getjabber.ath.cx"] = { |
||||
type = "local"; |
||||
connected = true; |
||||
sessions = {}; |
||||
}; |
||||
} |
||||
-- If the following is commented, no SSL will be set up on 5223 |
||||
--[[ssl_ctx = { |
||||
mode = "server"; |
||||
protocol = "sslv23"; |
||||
|
||||
-- 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", |
||||
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"; |
||||
}; |
||||
} |
||||
|
||||
Loading…
Reference in new issue