|
@@ -9,6 +9,7 @@
|
|
|
include_config_file:
|
|
|
- /home/ejabberd/conf/conf.d/10-macros.yml
|
|
|
- /home/ejabberd/conf/conf.d/15-log.yml
|
|
|
+ - /home/ejabberd/conf/conf.d/16-shaper.yml
|
|
|
- /home/ejabberd/conf/conf.d/20-hosts.yml
|
|
|
- /home/ejabberd/conf/conf.d/30-tls.yml
|
|
|
- /home/ejabberd/conf/conf.d/50-stun-turn.yml
|
|
@@ -76,23 +77,6 @@ access_rules:
|
|
|
trusted_network:
|
|
|
allow: loopback
|
|
|
|
|
|
-shaper:
|
|
|
- normal:
|
|
|
- rate: 3000
|
|
|
- burst_size: 20000
|
|
|
- fast: 100000
|
|
|
-
|
|
|
-shaper_rules:
|
|
|
- max_user_sessions: 10
|
|
|
- max_user_offline_messages:
|
|
|
- 5000: admin
|
|
|
- 100: all
|
|
|
- c2s_shaper:
|
|
|
- none: admin
|
|
|
- normal: all
|
|
|
- s2s_shaper: fast
|
|
|
-
|
|
|
-
|
|
|
modules:
|
|
|
mod_adhoc: {}
|
|
|
# mod_admin_extra: {}
|