diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index fc7896fd..5e8f8932 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1129,11 +1129,10 @@ GUI(){ nginxupdate) echo for nfile in ${NM_NGINXPATH}/sites-enabled/*.conf; do - echo ${nfile/.conf/} - # echo -en "Converting site: ${nfile##*/} ... " - # mv -f ${nfile} ${NM_NGINXPATH}/sites-available/${nfile##*/} - # ln -s ${NM_NGINXPATH}/sites-available/${nfile##*/} ${nfile} - # echo "Done" + echo -en "Converting site: ${nfile##*/} ... " + mv -f ${nfile} ${NM_NGINXPATH}/sites-available/${nfile##*/} + ln -s ${NM_NGINXPATH}/sites-available/${nfile##*/} ${nfile/.conf/} + echo "Done" done # SERVICE_MGMT nginx restart ;;