Update nodemgmt-scripts.sh
This commit is contained in:
@@ -735,7 +735,7 @@ NEWCERT(){
|
||||
# echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
|
||||
# echo
|
||||
|
||||
$CERT_DAEMON -d ${NEW_CERT}
|
||||
$CERT_DAEMON certonly -d ${NEW_CERT}
|
||||
# $CERT_DAEMON certonly --dry-run --webroot -w /var/www/html -d ${NEW_CERT}
|
||||
if [ -f /etc/letsencrypt/live/${MAIN_CERT}/cert.pem ]; then
|
||||
chown -R root:le /opt/lb-data/letsencrypt
|
||||
@@ -1344,7 +1344,7 @@ NEWSITE(){
|
||||
showdivide=yes
|
||||
fi
|
||||
if [ -z ${WEBOSCKET+x} ]; then
|
||||
echo -e -n "${idsCL[LightCyan]}Enable Weboscket Support (y/N): ${idsCL[Default]}"
|
||||
echo -e -n "${idsCL[LightCyan]}Enable Websocket Support (y/N): ${idsCL[Default]}"
|
||||
read WEBOSCKET
|
||||
showdivide=yes
|
||||
if [[ ${WEBOSCKET} =~ ^[Nn]$ ]] || [ "${WEBOSCKET}" = "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user