title: How to configure BOSH server to support my own XMPP server?
body: <p>I set up a BOSH server using <a href="https://github.com/dhruvbird/node-xmpp-bosh/" rel="nofollow">node-xmpp-bosh</a> and configured <a href="https://conversejs.org/" rel="nofollow">converse.js</a> (a javascript XMPP client) to use the BOSH url I set up, I tried log in with my jabber.org account on converse.js and all worked fine.</p>
  
  <p>Now I need to make this work with a private XMPP server.  Assume that the XMPP server is at chat.mysite.com:5222, a JID on the server is johndoe@mysite.com. How do I configure the BOSH server so that it connects to chat.mysite.com:5222 when I try to log in with johndoe@mysite.com on converse.js?</p>