Monday, September 3, 2012

Configuring ejabberd for BOSH using a specific url

Put this inside the "listen" part:
  {5280, ejabberd_http, [
                         {request_handlers,
                                [
                                        {["boshurl"], mod_http_bind}
                                ]
                        },
                         http_bind,
                         web_admin
                        ]}

Reload ejabberd, and connect to "yourdomain:5280/boshurl" and enjoy :)

No comments:

Sticky