Update certs.inc

This commit is contained in:
2023-12-27 15:47:07 -06:00
parent d2c72f042f
commit 6013ead499

View File

@@ -68,14 +68,14 @@ NEWCERT(){
sed -i "s/#include conf.d\/include\/force-ssl.conf/include conf.d\/include\/force-ssl.conf/g" ${NM_NGINXPATH}/sites-enabled/${MAIN_CERT}.conf
DIVIDER true
# if [ "${NEWSITE}" != "true" ]; then
echo -e -n "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
read -n 1 NGINXRELOAD
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
tmp=''
else
echo
# echo -e -n "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
# read -n 1 NGINXRELOAD
# if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
# tmp=''
# else
# echo
SERVICE_MGMT nginx restart
fi
# fi
# fi
fi
echo