diff --git a/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/45c2sS2SConf b/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/45c2sS2SConf index 7ce01fb..c9afd1b 100644 --- a/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/45c2sS2SConf +++ b/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/45c2sS2SConf @@ -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}, diff --git a/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/84TlsOut b/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/84TlsOut new file mode 100644 index 0000000..04ee493 --- /dev/null +++ b/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/84TlsOut @@ -0,0 +1,3 @@ +% Use TLS for s2s if available +\{s2s_use_starttls, true\}. +\{s2s_certfile, "/var/service/ejabberd/ssl/cert.pem"\}.