added local IP preamble

This commit is contained in:
Asif Bacchus 2019-01-05 02:18:44 -07:00
parent 619c069c06
commit e991846287
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@
-1,
-1,
-1,
115
-1
]
}
]

View File

@ -54,6 +54,9 @@ 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 "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
case "${inputIP}" in