Changed color

This commit is contained in:
Erreur32 2024-07-12 22:01:59 +02:00 committed by GitHub
parent ac10c0a496
commit 9ac916a68d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -282,13 +282,13 @@ fi
check_nginx_access() {
if ping -c 2 -W 2 $NGINX_IP &> /dev/null; then
if curl --output /dev/null --silent --head --fail "$BASE_URL"; then
echo " ✅ Nginx url: $BASE_URL"
echo -e "\n ✅ Nginx url: $BASE_URL"
else
echo " ⛔ Nginx url ⛔ $BASE_URL is NOT accessible."
echo -e "\n ⛔ Nginx url ⛔ $BASE_URL is NOT accessible."
exit 1
fi
else
echo "$NGINX_IP ⛔ is not responding. Houston, we have a problem."
echo -e "\n$NGINX_IP ⛔ is not responding. Houston, we have a problem."
exit 1
fi
}