usingSSL changed to useSSL throughout for consistency
This commit is contained in:
parent
a22529026a
commit
7c45a84d69
6
setup.sh
6
setup.sh
@ -178,11 +178,11 @@ while true; do
|
|||||||
read -p "Do you want to enable SSL on this server? (default: Yes) " yn
|
read -p "Do you want to enable SSL on this server? (default: Yes) " yn
|
||||||
case "${yn}" in
|
case "${yn}" in
|
||||||
[Yy]*|'')
|
[Yy]*|'')
|
||||||
usingSSL=1
|
useSSL=1
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
[Nn]*)
|
[Nn]*)
|
||||||
usingSSL=0
|
useSSL=0
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
[Xx]*)
|
[Xx]*)
|
||||||
@ -196,7 +196,7 @@ while true; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# using certbot?
|
# using certbot?
|
||||||
if [ "${usingSSL}" -eq 1 ]; then
|
if [ "${useSSL}" -eq 1 ]; then
|
||||||
echo -e "\n${mag}If you are using Certbot, you only need to provide the primary domain name"
|
echo -e "\n${mag}If you are using Certbot, you only need to provide the primary domain name"
|
||||||
echo "of your certificate and the script will auto-generate the paths NGINX needs to"
|
echo "of your certificate and the script will auto-generate the paths NGINX needs to"
|
||||||
echo "make everything work."
|
echo "make everything work."
|
||||||
|
Loading…
Reference in New Issue
Block a user