Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 124
Using websockets
Cyril Peponnet edited this page Sep 2, 2015
·
3 revisions
Since ejabberd 15.04 websockets are available without additionnal plugins. This is blazing fast and it became the default service URL for Archipel UI in 2015.
The relevant section in ejabberd.yml file is:
-
port: 5280module: ejabberd_httprequest_handlers:
"/xmpp": ejabberd_http_ws# if you want to use starttls with websock# the URI will be wss://# please be sure that the certificate belong# to a trusted AC in your browser# certfile: "/etc/ejabberd/ejabberd.pem"# tls: trueweb_admin: truehttp_bind: trueBy default both BOSH and websockets are enabled. This way you can get connected to the XMPP Server:
- using bosh with
http(s)://FQDN:8280/http-bind - using websocket with
ws(s)://FQDN:5280/xmpp