prosody: enable limits
* feat: Enables limits with default values from upstream. * feat: Enables limits_exception module and adding jicofo and jvb. Removes the limits for the jicofo and jvb connections.
This commit is contained in:
@@ -43,6 +43,7 @@ modules_enabled = {
|
||||
-- Not essential, but recommended
|
||||
"private"; -- Private XML storage (for room bookmarks, etc.)
|
||||
"vcard"; -- Allow users to set vCards
|
||||
"limits"; -- Enable bandwidth limiting for XMPP connections
|
||||
|
||||
-- These are commented by default as they have a performance impact
|
||||
--"privacy"; -- Support privacy lists
|
||||
@@ -93,6 +94,16 @@ allow_registration = false;
|
||||
|
||||
daemonize = false;
|
||||
|
||||
-- Enable rate limits for incoming client and server connections
|
||||
limits = {
|
||||
c2s = {
|
||||
rate = "10kb/s";
|
||||
};
|
||||
s2sin = {
|
||||
rate = "30kb/s";
|
||||
};
|
||||
}
|
||||
|
||||
pidfile = "/config/data/prosody.pid";
|
||||
|
||||
-- Force clients to use encrypted connections? This option will
|
||||
|
||||
Reference in New Issue
Block a user