Update certs.inc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user