diff --git a/_unlock b/_unlock new file mode 100644 index 0000000000..d86bac9de5 --- /dev/null +++ b/_unlock @@ -0,0 +1 @@ +OK diff --git a/config.js b/config.js index 2428c6b427..a40f5556fe 100644 --- a/config.js +++ b/config.js @@ -49,7 +49,8 @@ var config = { bosh: 'https://jitsi-meet.example.com/' + subdir + 'http-bind', // Websocket URL (XMPP) - // websocket: 'wss://jitsi-meet.example.com/' + subdir + 'xmpp-websocket', + websocket: 'wss://jitsi-meet.example.com/' + subdir + 'xmpp-websocket', + websocketKeepAliveUrl: 'https://jitsi-meet.example.com/' + subdir + '_unlock', // Whether BOSH should be preferred over WebSocket if both are configured. // preferBosh: false, diff --git a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example index fdf07eb1f8..38b19a1b4b 100644 --- a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example +++ b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example @@ -38,6 +38,11 @@ unlimited_jids = { "jvb@auth.jitmeet.example.com" } +-- https://prosody.im/doc/modules/mod_smacks +smacks_max_unacked_stanzas = 5; +smacks_hibernation_time = 60; +smacks_max_old_sessions = 1; + VirtualHost "jitmeet.example.com" authentication = "jitsi-anonymous" -- do not delete me -- Properties below are modified by jitsi-meet-tokens package config @@ -58,6 +63,7 @@ VirtualHost "jitmeet.example.com" -- we need bosh modules_enabled = { "bosh"; + "smacks"; "ping"; -- Enable mod_ping "speakerstats"; "external_services"; @@ -127,6 +133,13 @@ VirtualHost "auth.jitmeet.example.com" authentication = "internal_hashed" smacks_hibernation_time = 15; +VirtualHost "recorder.jitmeet.example.com" + modules_enabled = { + "smacks"; + } + authentication = "internal_hashed" + smacks_max_old_sessions = 2000; + -- Proxy to jicofo's user JID, so that it doesn't have to register as a component. Component "focus.jitmeet.example.com" "client_proxy" target_address = "focusUser@auth.jitmeet.example.com" diff --git a/doc/debian/jitsi-meet/jitsi-meet.example b/doc/debian/jitsi-meet/jitsi-meet.example index 23e781d103..0ea213dbad 100644 --- a/doc/debian/jitsi-meet/jitsi-meet.example +++ b/doc/debian/jitsi-meet/jitsi-meet.example @@ -150,6 +150,12 @@ server { # alias /usr/share/jitsi-meet/load-test/libs/$1; #} + location = /_unlock { + add_header 'Access-Control-Allow-Origin' '*'; + add_header Strict-Transport-Security 'max-age=63072000; includeSubDomains'; + add_header "Cache-Control" "no-cache, no-store"; + } + location ~ ^/conference-request/v1(\/.*)?$ { proxy_pass http://127.0.0.1:8888/conference-request/v1$1; add_header "Cache-Control" "no-cache, no-store";