-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
prosody.cfg.lua
31 lines (31 loc) · 1001 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
-- https://github.com/drduh/config/blob/master/prosody.cfg.lua
-- https://prosody.im/doc/configure
modules_enabled = {
"roster";
"saslauth";
"tls";
"private";
"posix";
"dialback";
}
log = {
debug = "/var/log/prosody/prosody.log";
error = "/var/log/prosody/prosody.err";
}
admins = { "admin@example.com" }
allow_registration = false
authentication = "internal_hashed"
daemonize = true
c2s_require_encryption = true
s2s_require_encryption = true
s2s_secure_auth = false
pidfile = "/var/run/prosody/prosody.pid"
VirtualHost "example.com"
ssl = {
key = "/etc/pki/xmpp-key.pem";
certificate = "/etc/pki/xmpp-cert.pem";
dhparam = "/etc/pki/dh.pem";
depth = "1";
protocols = "tlsv1_2";
ciphers = "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4";
}