Skip to content

Commit 465816b

Browse files
committed
web,prosody: turn on XMPP WebSocket by default
1 parent d747bfb commit 465816b

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

env.example

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,6 @@ JIBRI_LOGS_DIR=/config/logs
329329
# Necessary for Let's Encrypt, relies on standard HTTPS port (443)
330330
#ENABLE_HTTP_REDIRECT=1
331331

332-
# Enabled XMPP traffic over WebSocket (PUBLIC_URL must be defined!)
333-
#ENABLE_XMPP_WEBSOCKET=1
334-
335332
# Container restart policy
336333
# Defaults to unless-stopped
337334
RESTART_POLICY=unless-stopped

prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ http_default_host = "{{ .Env.XMPP_DOMAIN }}"
1515
{{ $JWT_TOKEN_AUTH_MODULE := .Env.JWT_TOKEN_AUTH_MODULE | default "token_verification" }}
1616
{{ $ENABLE_LOBBY := .Env.ENABLE_LOBBY | default "0" | toBool }}
1717

18-
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "0" | toBool }}
18+
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "1" | toBool }}
1919
{{ $PUBLIC_URL := .Env.PUBLIC_URL | default "https://localhost:8443" -}}
2020

2121
{{ if and $ENABLE_AUTH (eq $AUTH_TYPE "jwt") .Env.JWT_ACCEPTED_ISSUERS }}

web/rootfs/defaults/meet.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "0" | toBool }}
1+
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "1" | toBool }}
22

33
server_name _;
44

web/rootfs/defaults/system-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "false" | toBool -}}
33
{{ $ENABLE_GUESTS := .Env.ENABLE_GUESTS | default "false" | toBool -}}
44
{{ $ENABLE_SUBDOMAINS := .Env.ENABLE_SUBDOMAINS | default "false" | toBool -}}
5-
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "false" | toBool -}}
5+
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "1" | toBool -}}
66
{{ $JICOFO_AUTH_USER := .Env.JICOFO_AUTH_USER | default "focus" }}
77
{{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}}
88
{{ $XMPP_AUTH_DOMAIN := .Env.XMPP_AUTH_DOMAIN -}}

0 commit comments

Comments
 (0)