From a0652841aba7b3659f1e86d16e3682c16df68ee8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Feb 2019 22:14:10 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 573645dd..f0335c46 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -170,7 +170,7 @@ NEWSITE(){ if [ ! -z ${PROXYSCHEME+x} ] && [ ! -z ${PROXYHOST+x} ] && [ ! -z ${PROXYPORT+x} ]; then GO=true; fi else GO=true; fi if [ "${GO}" = "true" ]; then - echo -e "${idsCL[LightGreen]}Setting up new site for '${idsCL[Yellow]}${MAIN_SITE}${idsCL[LightGreen]}' {${NGINX_SERVERNAM}}...${idsCL[Default]}" + echo -e "${idsCL[LightGreen]}Setting up new site for '${idsCL[Yellow]}${MAIN_SITE}${idsCL[LightGreen]}' {${NGINX_SERVERNAME}}...${idsCL[Default]}" echo "" if [ "${SITE_TYPE}" = "local" ]; then echo -e "server { @@ -247,9 +247,9 @@ NEWSITE(){ access_log /var/www/!NGINX-Logs/proxy-${MAIN_SITE}.log proxy; location / {" >> /etc/nginx/sites-available/${MAIN_SITE}.conf - if [ "${CREATE_SSL}" = "true" ]; then - echo -e " include conf.d/include/force-ssl.conf;" >> /etc/nginx/sites-available/${MAIN_SITE}.conf - fi + if [ "${CREATE_SSL}" = "true" ]; then + echo -e " include conf.d/include/force-ssl.conf;" >> /etc/nginx/sites-available/${MAIN_SITE}.conf + fi echo -e " include conf.d/include/proxy.conf; } } @@ -452,7 +452,7 @@ if [ ${action-x} ]; then certrenew) CERTRENEW;; nightlyrenew) NIGHTLYRENEW;; delsite) DELSITE;; - newsite) NEWSITE ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};; + newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};; update) ;; status) STATUS;; status-check) STATUS-CHECK;;