conversejs / converse.js

Web-based XMPP/Jabber chat client written in JavaScript
http://conversejs.org
Mozilla Public License 2.0
3.04k stars 763 forks source link

HTTPS serve on virtual host instead of port #3406

Open avidseeker opened 1 month ago

avidseeker commented 1 month ago

Following the guide for prosody mod_conversejs, conversejs successfully runs on https://example.com:5281/conversejs, but there doesn't seem a way to change the port and base domain that conversejs uses. According to the documentation, conversejs uses "Prosodys internal http server", and the module provides the following settings that I can't find a documentation for:

These settings are set to the current VirtualHost:

  • jid
  • default_domain
  • domain_placeholder
  • registration_domain

How can I set conversejs to serve https://chat.example.com instead of https://example.com:5281/conversejs?

The closest I found was an nginx setup here but what should be root /path/to/converse.js/; the path to converse.js if I installed it as a prosody module?