aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2015-04-15 10:33:25 +0200
committerPaweł Chmielowski <pawel@process-one.net>2015-04-15 10:35:17 +0200
commita1f81057cac8d3cccd24e48c43f131704f9461a9 (patch)
tree0470c27d53bf9a77215200e2195786b34ba5ec55
parentDon't forget gen_tcp:listen/2 options (diff)
Enable websocket connection in default config file
-rw-r--r--ejabberd.yml.example5
1 files changed, 3 insertions, 2 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index 0d4cbb1a2..4bf2dcffd 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -161,8 +161,9 @@ listen:
-
port: 5280
module: ejabberd_http
- ## request_handlers:
- ## "/pub/archive": mod_http_fileserver
+ request_handlers:
+ "/websocket": ejabberd_http_ws
+ ## "/pub/archive": mod_http_fileserver
web_admin: true
http_poll: true
http_bind: true