Increase rate limit for both c2s and s2s
This commit is contained in:
parent
a9ae0c4c2b
commit
38a46f37aa
|
@ -3,11 +3,11 @@
|
|||
% Users can use c2s connections:
|
||||
{access, c2s, [{allow, all}]}.
|
||||
|
||||
% Set shaper with name "normal" to limit traffic speed to 3000B/s
|
||||
{shaper, normal, {maxrate, 3000}}.
|
||||
% Set shaper with name "normal" to limit traffic speed to 10000B/s
|
||||
{shaper, normal, {maxrate, 10000}}.
|
||||
|
||||
% Set shaper with name "fast" to limit traffic speed to 100000B/s
|
||||
{shaper, fast, {maxrate, 100000}}.
|
||||
% Set shaper with name "fast" to limit traffic speed to 500000B/s
|
||||
{shaper, fast, {maxrate, 500000}}.
|
||||
|
||||
% For all users except admins used "normal" shaper
|
||||
{access, c2s_shaper, [{none, admin},
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
% Use TLS for s2s if available
|
||||
\{s2s_use_starttls, true\}.
|
||||
\{s2s_certfile, "/var/service/ejabberd/ssl/cert.pem"\}.
|
Loading…
Reference in New Issue