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
|
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
|
DIVIDER true
|
||||||
# if [ "${NEWSITE}" != "true" ]; then
|
# if [ "${NEWSITE}" != "true" ]; then
|
||||||
echo -e -n "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
|
# echo -e -n "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"
|
||||||
read -n 1 NGINXRELOAD
|
# read -n 1 NGINXRELOAD
|
||||||
if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
|
# if [[ ${NGINXRELOAD} =~ ^[Nn]$ ]]; then
|
||||||
tmp=''
|
# tmp=''
|
||||||
else
|
# else
|
||||||
echo
|
# echo
|
||||||
SERVICE_MGMT nginx restart
|
SERVICE_MGMT nginx restart
|
||||||
fi
|
# fi
|
||||||
# fi
|
# fi
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user