Does not require but I recommend using Punjab (https://github.com/twonds...

.../punjab) as your Bosh connection manager, its easy to setup.

You must also proxy the domain you serve the app from to your jabber domain, below is an example nginx config to do this. e.x. you serve from "https://yoursite.com/chat", but your jabber server is at "xmpp.yoursite.com", you use the config below for https://yoursite.com" to route "https://yoursite.com/http-bind/" to "http//xmpp.yoursite.com:5280/http-bind/". This is required to protect against cross site scripting by many browsers.

location /http-bind/ {
        proxy_pass  http://xmpp.yoursite.com:5280/http-bind/;
        proxy_buffering off;
        tcp_nodelay on;
    }