Newer
Older
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
plugin_paths = {
"/usr/local/lib/prosody/modules",
};
use_libevent = true;
log = {
-- debug = "/var/log/prosody/prosody.dbg",
info = "/var/log/prosody/prosody.log",
error = "/var/log/prosody/prosody.err",
"syslog",
};
use_ipv6 = true;
http_ports = {
5290,
};
https_ports = {
5291,
};
pastebin_ports = {
5292,
};
bosh_ports = {
5280,
};
admins = {
{tmpl_var xmpp_admins}
};
modules_enabled = {
"roster",
"saslauth",
"tls",
"dialback",
"disco",
"carbons",
"pep",
"private",
"blocklist",
"vcard",
"version",
"uptime",
"time",
"ping",
"admin_adhoc",
"mam",
"bosh",
"websocket",
"http_files",
"announce",
"proxy65",
"offline",
"posix",
-- community modules
"webpresence",
-- ??
-- "discoitems",
-- "admin_telnet",
--
-- "stream_management",
-- "message_carbons"
};
modules_disabled = {
};
allow_registration = false;
c2s_require_encryption = false;
s2s_require_encryption = true;
s2s_secure_auth = false;
s2s_insecure_domains = {
"gmail.com",
};
pidfile = "/var/run/prosody/prosody.pid";
authentication = "external";
archive_expires_after = "2w";
statistics = "internal";
certificates = "certs";
bosh_max_inactivity = 60;
consider_bosh_secure = true;
cross_domain_bosh = true;
ssl = {
key = "/etc/prosody/certs/localhost.key",
certificate = "/etc/prosody/certs/localhost.crt",
};
VirtualHost "{tmpl_var main_host}"
certificate = "/etc/prosody/certs/localhost.crt"