mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
feat: Switches by default to using websockets.
This commit is contained in:
@@ -49,7 +49,8 @@ var config = {
|
|||||||
bosh: 'https://jitsi-meet.example.com/' + subdir + 'http-bind',
|
bosh: 'https://jitsi-meet.example.com/' + subdir + 'http-bind',
|
||||||
|
|
||||||
// Websocket URL (XMPP)
|
// 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.
|
// Whether BOSH should be preferred over WebSocket if both are configured.
|
||||||
// preferBosh: false,
|
// preferBosh: false,
|
||||||
|
|||||||
@@ -38,6 +38,11 @@ unlimited_jids = {
|
|||||||
"jvb@auth.jitmeet.example.com"
|
"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"
|
VirtualHost "jitmeet.example.com"
|
||||||
authentication = "jitsi-anonymous" -- do not delete me
|
authentication = "jitsi-anonymous" -- do not delete me
|
||||||
-- Properties below are modified by jitsi-meet-tokens package config
|
-- Properties below are modified by jitsi-meet-tokens package config
|
||||||
@@ -58,6 +63,7 @@ VirtualHost "jitmeet.example.com"
|
|||||||
-- we need bosh
|
-- we need bosh
|
||||||
modules_enabled = {
|
modules_enabled = {
|
||||||
"bosh";
|
"bosh";
|
||||||
|
"smacks";
|
||||||
"ping"; -- Enable mod_ping
|
"ping"; -- Enable mod_ping
|
||||||
"speakerstats";
|
"speakerstats";
|
||||||
"external_services";
|
"external_services";
|
||||||
@@ -127,6 +133,13 @@ VirtualHost "auth.jitmeet.example.com"
|
|||||||
authentication = "internal_hashed"
|
authentication = "internal_hashed"
|
||||||
smacks_hibernation_time = 15;
|
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.
|
-- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
|
||||||
Component "focus.jitmeet.example.com" "client_proxy"
|
Component "focus.jitmeet.example.com" "client_proxy"
|
||||||
target_address = "focusUser@auth.jitmeet.example.com"
|
target_address = "focusUser@auth.jitmeet.example.com"
|
||||||
|
|||||||
@@ -150,6 +150,12 @@ server {
|
|||||||
# alias /usr/share/jitsi-meet/load-test/libs/$1;
|
# 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(\/.*)?$ {
|
location ~ ^/conference-request/v1(\/.*)?$ {
|
||||||
proxy_pass http://127.0.0.1:8888/conference-request/v1$1;
|
proxy_pass http://127.0.0.1:8888/conference-request/v1$1;
|
||||||
add_header "Cache-Control" "no-cache, no-store";
|
add_header "Cache-Control" "no-cache, no-store";
|
||||||
|
|||||||
Reference in New Issue
Block a user