ソースを参照

moved modules config in separate

Dominik 2 年 前
コミット
018af8c5c7

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

@@ -1,3 +1,15 @@
 # starttls is gloablly required for s2s 
 max_stanza_size: 131072
 
+ -
+    port: 5269
+    ip: "::"
+    module: ejabberd_s2s_in
+    starttls_required: true
+    max_stanza_size: 524288
+  -
+    port: 5270
+    ip: "::"
+    module: ejabberd_s2s_in
+    tls: true
+    max_stanza_size: 524288

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

@@ -58,7 +58,7 @@ acl:
       - ::FFFF:127.0.0.1/128
   admin:
     user:
-      - "admin@localhost"
+      - "admin" # if Username is in the form of "user", the rule matches any JID that has Username in the node part as long as the server part of this JID is any virtual host served by ejabberd.
 
 access_rules:
   local: