]> granicus.if.org Git - ejabberd/commitdiff
Update example configuration
authorChristophe Romain <christophe.romain@process-one.net>
Mon, 11 Dec 2017 09:27:48 +0000 (10:27 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Mon, 11 Dec 2017 09:27:48 +0000 (10:27 +0100)
ejabberd.yml.example

index 9c82b551b1d0d770d30428b166d48a0d48276856..61c6586b8f05a624265b4184826e33ddc206adfe 100644 (file)
@@ -221,7 +221,12 @@ listen:
   ##   port: 4560
   ##   ip: "::"
   ##   module: ejabberd_xmlrpc
-  ##   access_commands: {}
+  ##   maxsessions: 10
+  ##   timeout: 5000
+  ##   access_commands:
+  ##     admin:
+  ##       commands: all
+  ##       options: []
 
   ##
   ## To enable secure http upload
@@ -233,10 +238,6 @@ listen:
   ##   request_handlers:
   ##     "": mod_http_upload
   ##   tls: true
-  ##   certfile: "/path/to/xmpp.pem"
-  ##   protocol_options: 'TLSOPTS'
-  ##   dhfile: 'DHFILE'
-  ##   ciphers: 'CIPHERS'
 
 ## Disabling digest-md5 SASL authentication. digest-md5 requires plain-text
 ## password storage (see auth_password_format option).
@@ -250,7 +251,7 @@ listen:
 ## Allowed values are: false, optional or required
 ## You must specify 'certfiles' option
 ##
-## s2s_use_starttls: required
+## s2s_use_starttls: optional
 
 ##
 ## S2S whitelist or blacklist
@@ -796,9 +797,9 @@ modules:
     search: false
   mod_vcard_xupdate: {}
   ## Convert all avatars posted by Android clients from WebP to JPEG
-  mod_avatar:
-    convert:
-      webp: jpeg
+  ## mod_avatar:  # this module needs compile option --enable-graphics
+  ##   convert:
+  ##     webp: jpeg
   mod_version: {}
   mod_stream_mgmt: {}
   ##   Non-SASL Authentication (XEP-0078) is now disabled by default