Update certs.inc
This commit is contained in:
@@ -67,7 +67,7 @@ NEWCERT(){
|
|||||||
sed -i "s/#include conf.d\/include\/ssl-ciphers.conf/include conf.d\/include\/ssl-ciphers.conf/g" ${NM_NGINXPATH}/sites-enabled/${MAIN_CERT}.conf
|
sed -i "s/#include conf.d\/include\/ssl-ciphers.conf/include conf.d\/include\/ssl-ciphers.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
|
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
|
||||||
@@ -76,7 +76,7 @@ NEWCERT(){
|
|||||||
echo
|
echo
|
||||||
SERVICE_MGMT nginx restart
|
SERVICE_MGMT nginx restart
|
||||||
fi
|
fi
|
||||||
fi
|
# fi
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
echo -e "${idsCL[Green]}Certificate has been successfully created for '${idsCL[Yellow]}${NEW_CERT}${idsCL[Green]}'...${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Certificate has been successfully created for '${idsCL[Yellow]}${NEW_CERT}${idsCL[Green]}'...${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user