updated IP4 preamble and question
This commit is contained in:
parent
62014eaf90
commit
b81380ebaa
4
setup.sh
4
setup.sh
@ -55,11 +55,11 @@ echo -e "You may exit this script at any prompt by typing 'X'${norm}\n"
|
||||
|
||||
|
||||
### get local IP address
|
||||
echo -e "\n${mag}In cases where this server will be acting as a (reverse) proxy,NGINX"
|
||||
echo -e "\n${mag}In cases where this server will be acting as a (reverse) proxy, NGINX"
|
||||
echo "needs to know it's own local IP address so that the logs can properly reflect"
|
||||
echo -e "the IP of the remote system(s) instead of this server.${norm}\n"
|
||||
while true; do
|
||||
read -p "What is this NGINX machine's primary local IP4 address? (${detectedIP}) " inputIP
|
||||
read -p "What is this machine's local IP4 address? (${detectedIP}) " inputIP
|
||||
case "${inputIP}" in
|
||||
'')
|
||||
IP4="${detectedIP}"
|
||||
|
Loading…
Reference in New Issue
Block a user