forked from switnet/quick-jibri-installer
Fix condition and comments.
This commit is contained in:
parent
e0f5f2100a
commit
db48de8f94
|
@ -946,7 +946,7 @@ sed -i "s|// anonymousdomain: 'guest.example.com'|anonymousdomain: \'guest.$DOMA
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Guest allow
|
#Guest allow
|
||||||
if dpkg-compare prosody gt 0.11.0 ; then
|
if [ "$ENABLE_SC" = "yes" ] || [ "$ENABLE_JWT" = "yes" ];then
|
||||||
cat << P_SR >> $PROSODY_FILE
|
cat << P_SR >> $PROSODY_FILE
|
||||||
|
|
||||||
VirtualHost "guest.$DOMAIN"
|
VirtualHost "guest.$DOMAIN"
|
||||||
|
@ -968,9 +968,9 @@ P_SR
|
||||||
else
|
else
|
||||||
cat << P_SR >> $PROSODY_FILE
|
cat << P_SR >> $PROSODY_FILE
|
||||||
|
|
||||||
#VirtualHost "guest.$DOMAIN"
|
--VirtualHost "guest.$DOMAIN"
|
||||||
# authentication = "anonymous"
|
-- authentication = "anonymous"
|
||||||
# c2s_require_encryption = false
|
-- c2s_require_encryption = false
|
||||||
P_SR
|
P_SR
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue