summaryrefslogtreecommitdiff
path: root/ejabberd.yml.example
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-04-30 11:14:14 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-04-30 11:14:14 +0300
commitc7d04a82a25c4c47fbee0caf8c7917d5a2dcc91c (patch)
treecef7cf00ed568271d79f04618cca303d8a928a2b /ejabberd.yml.example
parentProvide a suggestion when unknown request handler is detected (diff)
Deprecate some listening options
Those are: captcha, register, web_admin, http_bind and xmlrpc The option `request_handlers` should be used instead, e.g.: listen: ... - module: ejabberd_http request_handlers: "/admin": ejabberd_web_admin "/bosh": mod_bosh "/captcha": ejabberd_captcha "/register": mod_register_web "/": ejabberd_xmlrpc
Diffstat (limited to 'ejabberd.yml.example')
-rw-r--r--ejabberd.yml.example9
1 files changed, 5 insertions, 4 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index 52a9c9f6..e62dd8bc 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -57,19 +57,20 @@ listen:
port: 5443
ip: "::"
module: ejabberd_http
+ tls: true
request_handlers:
+ "/admin": ejabberd_web_admin
"/api": mod_http_api
"/bosh": mod_bosh
+ "/captcha": ejabberd_captcha
"/upload": mod_http_upload
"/ws": ejabberd_http_ws
- web_admin: true
- captcha: true
- tls: true
-
port: 5280
ip: "::"
module: ejabberd_http
- web_admin: true
+ request_handlers:
+ "/admin": ejabberd_web_admin
-
port: 1883
ip: "::"