Update sites.inc

This commit is contained in:
2023-11-11 12:15:18 -06:00
parent 04259cf7c3
commit 528403fbd0

View File

@@ -446,14 +446,14 @@ NEWSITE(){
echo
echo -e "${idsCL[LightGreen]}The new site for '${idsCL[LightGreen]}${NEW_SITE}${idsCL[Default]}' has been created.${idsCL[Default]}"
echo
echo -en "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
read -n 1 NGINXRELOAD
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
echo
else
echo
# echo -en "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
# read -n 1 NGINXRELOAD
# if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
# echo
# else
# echo
SERVICE nginx restart
fi
# fi
else
echo "Missing proxy arguments"
Exit 1