-
Notifications
You must be signed in to change notification settings - Fork 0
/
prosody.cfg.lua
executable file
·63 lines (51 loc) · 1015 Bytes
/
prosody.cfg.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
admins = { "ADMIN@HOST" }
daemonize = true
pidfile = "/var/run/prosody/prosody.pid"
modules_enabled = {
"roster";
"saslauth";
"tls";
"dialback";
"disco";
"private";
"vcard";
"privacy";
"compression";
"smacks3";
"smacks2";
"carbons";
"mam";
"lastactivity";
"offline";
"pubsub";
"version";
"uptime";
"time";
"ping";
"pep";
"register";
"adhoc";
"admin_adhoc";
"posix";
"bosh";
"websocket";
};
allow_registration = false;
ssl = {
key = "/path/to/key";
certificate = "/path/to/cert";
}
c2s_require_encryption = true
s2s_secure_auth = true
cross_domain_bosh = true
authentication = "internal_hashed"
storage = {archive2 = "sql2"}
sql = { driver = "SQLite3", database = "prosody.sqlite" }
default_archive_policy = "roster"
log = {
debug = "/var/log/prosody/prosody.log";
error = "/var/log/prosody/prosody.err";
}
VirtualHost "HOST"
component_ports = { 5347 }
Component "muc.HOST" "muc"