@@ -80,7 +80,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
80
80
authentication = " {{ $JWT_AUTH_TYPE }}"
81
81
app_id = " {{ .Env.JWT_APP_ID }}"
82
82
app_secret = " {{ .Env.JWT_APP_SECRET }}"
83
- allow_empty_token = {{ if $JWT_ALLOW_EMPTY }} true {{ else }} false {{ end }}
83
+ allow_empty_token = {{ $JWT_ALLOW_EMPTY }}
84
84
{{ if $JWT_ASAP_KEYSERVER }}
85
85
asap_key_server = " {{ .Env.JWT_ASAP_KEYSERVER }}"
86
86
{{ end }}
@@ -93,15 +93,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
93
93
authentication = " internal_hashed"
94
94
{{ end }}
95
95
{{ else }}
96
- -- https://github.com/jitsi/docker-jitsi-meet/pull/502#issuecomment-619146339
97
- {{ if $ENABLE_XMPP_WEBSOCKET }}
98
- authentication = " token"
99
- {{ else }}
100
- authentication = " anonymous"
101
- {{ end }}
102
- app_id = " "
103
- app_secret = " "
104
- allow_empty_token = true
96
+ authentication = " jitsi-anonymous"
105
97
{{ end }}
106
98
ssl = {
107
99
key = " /config/certs/{{ .Env.XMPP_DOMAIN }}.key" ;
@@ -153,15 +145,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
153
145
154
146
{{ if $ENABLE_GUEST_DOMAIN }}
155
147
VirtualHost " {{ .Env.XMPP_GUEST_DOMAIN }}"
156
- -- https://github.com/jitsi/docker-jitsi-meet/pull/502#issuecomment-619146339
157
- {{ if $ENABLE_XMPP_WEBSOCKET }}
158
- authentication = " token"
159
- {{ else }}
160
- authentication = " anonymous"
161
- {{ end }}
162
- app_id = " "
163
- app_secret = " "
164
- allow_empty_token = true
148
+ authentication = " jitsi-anonymous"
165
149
166
150
c2s_require_encryption = false
167
151
{{ end }}
0 commit comments