diff --git a/webapps/jitsimeet/templates/meet/config.js.j2 b/webapps/jitsimeet/templates/meet/config.js.j2 index 6e06124f..ee762f64 100644 --- a/webapps/jitsimeet/templates/meet/config.js.j2 +++ b/webapps/jitsimeet/templates/meet/config.js.j2 @@ -49,7 +49,7 @@ var config = { bosh: 'https://{{ domains | first }}/' + subdir + 'http-bind', // Websocket URL (XMPP) - // websocket: 'wss://{{ domains | first }}/' + subdir + 'xmpp-websocket', + websocket: 'wss://{{ domains | first }}/' + subdir + 'xmpp-websocket', // The real JID of focus participant - can be overridden here // Do not change username - FIXME: Make focus username configurable diff --git a/webapps/jitsimeet/templates/prosody/virtualhost.cfg.lua.j2 b/webapps/jitsimeet/templates/prosody/virtualhost.cfg.lua.j2 index 7d40e05c..506f4a14 100644 --- a/webapps/jitsimeet/templates/prosody/virtualhost.cfg.lua.j2 +++ b/webapps/jitsimeet/templates/prosody/virtualhost.cfg.lua.j2 @@ -12,6 +12,8 @@ external_services = { cross_domain_bosh = false; consider_bosh_secure = true; +cross_domain_websocket = true; +consider_websocket_secure = true; -- https_ports = { }; -- Remove this line to prevent listening on port 5284 -- by default prosody 0.12 sends cors headers, if you want to disable it uncomment the following (the config is available on 0.12.1) @@ -56,6 +58,8 @@ VirtualHost "{{ domains | first }}" -- we need bosh modules_enabled = { "bosh"; + "websocket"; + "smacks"; -- XEP-0198: Stream Management "pubsub"; "ping"; -- Enable mod_ping "speakerstats";