-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprosody.cfg.lua
31 lines (23 loc) · 1 KB
/
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
admins = { }
plugin_paths = { "/usr/local/lib/prosody/modules" }
pidfile = "/run/prosody/prosody.pid";
limits = {
c2s = { rate = "3kb/s"; burst = "2s"; };
s2sin = { rate = "10kb/s"; burst = "5s"; };
}
log = "*syslog"
VirtualHost "xmpp.supernets.org"
modules_enabled = { "carbons"; "dialback"; "disco"; "limits"; "pep"; "ping"; "posix"; "register"; "register_limits", "roster"; "saslauth"; "tls"; }
allow_registration = true -- register
authentication = "internal_hashed" -- register
blacklist_on_registration_throttle_overload = true -- register_limits
c2s_require_encryption = true
min_seconds_between_registrations = 86400 -- register_limits
registration_throttle_cache_size = 100 -- register_limits
s2s_require_encryption = true
ssl = {
certificate = "/etc/prosody/certs/xmpp.supernets.org/fullchain.pem";
key = "/etc/prosody/certs/xmpp.supernets.org/privkey.pem";
}
Component "muc.supernets.org" "muc"
name = "SuperNETs XMPP Chatrooms"