|
@@ -40,10 +40,10 @@ case "$1" in
|
40
|
40
|
# SSL for nginx
|
41
|
41
|
db_get jitsi-meet/cert-choice
|
42
|
42
|
CERT_CHOICE="$RET"
|
43
|
|
- if [ "$CERT_CHOICE" == 'I want a generated self-signed certificate' ]; then
|
|
43
|
+ if [ "$CERT_CHOICE" = 'I want a generated self-signed certificate' ]; then
|
44
|
44
|
# self-signed certificate is already in place for prosody
|
45
|
45
|
:
|
46
|
|
- elif [ "$CERT_CHOICE" == 'I have a certificate and will upload the files on the server' ]; then
|
|
46
|
+ elif [ "$CERT_CHOICE" = 'I have a certificate and will upload the files on the server' ]; then
|
47
|
47
|
db_fset jitsi-meet/default-key "/etc/ssl/$JVB_HOSTNAME.key"
|
48
|
48
|
db_get jitsi-meet/cert-path-key
|
49
|
49
|
CERT_KEY="$RET"
|