Increase rate limit for both c2s and s2s

tags/ipasserelle-im-0.2.18-1 0.2.10
Daniel Berteaud 12 years ago
parent a9ae0c4c2b
commit 38a46f37aa
  1. 8
      root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/45c2sS2SConf
  2. 3
      root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/84TlsOut

@ -3,11 +3,11 @@
% Users can use c2s connections: % Users can use c2s connections:
{access, c2s, [{allow, all}]}. {access, c2s, [{allow, all}]}.
% Set shaper with name "normal" to limit traffic speed to 3000B/s % Set shaper with name "normal" to limit traffic speed to 10000B/s
{shaper, normal, {maxrate, 3000}}. {shaper, normal, {maxrate, 10000}}.
% Set shaper with name "fast" to limit traffic speed to 100000B/s % Set shaper with name "fast" to limit traffic speed to 500000B/s
{shaper, fast, {maxrate, 100000}}. {shaper, fast, {maxrate, 500000}}.
% For all users except admins used "normal" shaper % For all users except admins used "normal" shaper
{access, c2s_shaper, [{none, admin}, {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…
Cancel
Save