mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2024-12-22 05:22:11 +01:00
Sauvegarde des modifications avant la fusion
This commit is contained in:
parent
82831157a8
commit
f0322561c6
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue