Skip to content

Commit 11285cd

Browse files
prosody: Fixed the wrong position of the JWT_SIGN_TYPE setting in the file (jitsi#1796)
* Fixed the JWT_SIGN_TYPE being in Jigasi - added it to the correct spot * Fixed the wrong position of the JWT_SIGN_TYPE setting in the file
1 parent f9ff2a4 commit 11285cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ VirtualHost "jigasi.meet.jitsi"
135135
"muc_password_check";
136136
}
137137
authentication = "token"
138-
{{ if .Env.JWT_SIGN_TYPE }}
139-
signature_algorithm = "{{ .Env.JWT_SIGN_TYPE }}"
140-
{{ end -}}
141138
app_id = "jitsi";
142139
asap_key_server = "https://jaas-public-keys.jitsi.net/jitsi-components/prod-8x8"
143140
asap_accepted_issuers = { "jaas-components" }
@@ -147,6 +144,9 @@ VirtualHost "jigasi.meet.jitsi"
147144
VirtualHost "{{ $XMPP_DOMAIN }}"
148145
{{ if $ENABLE_AUTH }}
149146
{{ if eq $PROSODY_AUTH_TYPE "jwt" }}
147+
{{ if .Env.JWT_SIGN_TYPE }}
148+
signature_algorithm = "{{ .Env.JWT_SIGN_TYPE }}"
149+
{{ end -}}
150150
authentication = "{{ $JWT_AUTH_TYPE }}"
151151
app_id = "{{ .Env.JWT_APP_ID }}"
152152
app_secret = "{{ .Env.JWT_APP_SECRET }}"

0 commit comments

Comments
 (0)