create_vhost.sh: change default for 'only SSL connections' to 'Yes'.
This commit is contained in:
parent
a6f007d937
commit
b15c67a405
@ -1590,7 +1590,7 @@ if $_https && [[ -z "$_https_only" ]]; then
|
||||
echo ""
|
||||
echo ""
|
||||
OK=""
|
||||
echononl "Allow only SSL connections? [no]: "
|
||||
echononl "Allow only SSL connections? [yes]: "
|
||||
read OK
|
||||
OK=${OK,,}
|
||||
while [[ "X$OK" != "Xyes" && "X$OK" != "Xno" && "X$OK" != "X" ]]; do
|
||||
@ -1599,10 +1599,10 @@ if $_https && [[ -z "$_https_only" ]]; then
|
||||
OK=${OK,,}
|
||||
done
|
||||
|
||||
if [[ "$OK" = "yes" ]] ; then
|
||||
_https_only=true
|
||||
else
|
||||
if [[ "$OK" = "no" ]] ; then
|
||||
_https_only=false
|
||||
else
|
||||
_https_only=yes
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user