ソースを参照

moved s2s listener in separate configuration file

Dominik 3 年 前
コミット
fc2b87f4fb

+ 3 - 0
EXTRAS/example-configurations/conf.d/41-s2s.yml

@@ -0,0 +1,3 @@
+# starttls is gloablly required for s2s 
+max_stanza_size: 131072
+

+ 1 - 7
EXTRAS/example-configurations/ejabberd.yml

@@ -12,17 +12,11 @@ include_config_file:
   - /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/41-s2s.yml
   - /home/ejabberd/conf/conf.d/50-stun-turn.yml
 
 listen:
   -
-    port: 5222
-    module: ejabberd_c2s
-    max_stanza_size: 262144
-    shaper: c2s_shaper
-    access: c2s
-    starttls_required: true
-  -
     port: 5269
     module: ejabberd_s2s_in
     max_stanza_size: 524288