Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-11 17:02:14 -06:00
parent c6459b8bd6
commit a08ae304f9

View File

@@ -933,7 +933,7 @@ NEWSITE(){
fi
fi
if [ -z ${SITE_TYPE+x} ]; then
echo -e -n "${idsCL[LightCyan]}Site type ([local]/proxy): ${idsCL[Default]}"
echo -e -n "${idsCL[LightCyan]}Site type \([local]/proxy\): ${idsCL[Default]}"
read SITE_TYPE
showdivide=yes
if [ "${SITE_TYPE}" != "proxy" ]; then
@@ -942,17 +942,17 @@ NEWSITE(){
fi
if [ "${SITE_TYPE}" = "proxy" ]; then
if [ -z ${PROXYHOST+x} ]; then
echo -e -n "${idsCL[LightCyan]}What is the proxy backend address (IP or FQDN): ${idsCL[Default]}"
echo -e -n "${idsCL[LightCyan]}What is the proxy backend address \(IP or FQDN\): ${idsCL[Default]}"
read PROXYHOST
showdivide=yes
fi
if [ -z ${PROXYPORT+x} ]; then
echo -e -n "${idsCL[LightCyan]}What is the proxy backend port (tcp port): ${idsCL[Default]}"
echo -e -n "${idsCL[LightCyan]}What is the proxy backend port \(tcp port\): ${idsCL[Default]}"
read PROXYPORT
showdivide=yes
fi
if [ -z ${PROXYSCHEME+x} ]; then
echo -e -n "${idsCL[LightCyan]}What is the proxy backend scheme (http/https): ${idsCL[Default]}"
echo -e -n "${idsCL[LightCyan]}What is the proxy backend scheme \(http/https\): ${idsCL[Default]}"
read PROXYSCHEME
showdivide=yes
fi