Scaling up and performance features. #22

Merged
Ark74 merged 43 commits from unstable into master 2020-12-17 17:34:28 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit db48de8f94 - Show all commits

View File

@ -946,7 +946,7 @@ sed -i "s|// anonymousdomain: 'guest.example.com'|anonymousdomain: \'guest.$DOMA
fi
#Guest allow
if dpkg-compare prosody gt 0.11.0 ; then
if [ "$ENABLE_SC" = "yes" ] || [ "$ENABLE_JWT" = "yes" ];then
cat << P_SR >> $PROSODY_FILE
VirtualHost "guest.$DOMAIN"
@ -968,9 +968,9 @@ P_SR
else
cat << P_SR >> $PROSODY_FILE
#VirtualHost "guest.$DOMAIN"
# authentication = "anonymous"
# c2s_require_encryption = false
--VirtualHost "guest.$DOMAIN"
-- authentication = "anonymous"
-- c2s_require_encryption = false
P_SR
fi