mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2024-10-18 09:20:13 +02:00
Update nginx_proxy_manager_cli.sh
This commit is contained in:
parent
82831157a8
commit
06552654fe
@ -282,9 +282,9 @@ 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 -e "\n ✅ Nginx url: $BASE_URL"
|
||||
echo -e "\n ✅ Nginx url: $BASE_URL"
|
||||
else
|
||||
echo -e "\n ⛔ Nginx url ⛔ $BASE_URL is NOT accessible."
|
||||
echo -e "\n ⛔ Nginx url ⛔ $BASE_URL is NOT accessible."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user