I can see the webpage https://domain.com/http-bind, and the bosch module is enabled in the ejabberd config file.
Any hints would be appreciated.
TIA
ps. I understand a little bit better what is going on. Nextcloud and ejabberd are on the same server, BUT Nextcloud is on a subdomain (sub.domain.com) whilst ejabberd runs on the main domain (domain.com)
BOSH server not reachable
… Reason: You are violating the browser same-origin-policy (SOP), which prevents cross-side requests between sites with different domains or ports (protocols). Test: Open your JavaScript console and look for errors. Solution 1: Enable CORS for your BOSH server. Enabled by default in ejabberd. If you have a modified content-security-policy (as used in ownCloud), then add your BOSH domain to the default-src section. Solution 2: Create a proxy as described in our Apache setup guide.