Since buster(?) the page title is 'Welcome to nginx!'...

This commit is contained in:
Alexandre Aubin 2021-01-02 20:09:35 +01:00
parent 9879774322
commit 043071a175

View file

@ -222,7 +222,7 @@ _VALIDATE_THAT_APP_CAN_BE_ACCESSED () {
log_debug "The connection attempt fall on the YunoHost portal." log_debug "The connection attempt fall on the YunoHost portal."
fell_on_sso_portal=1 fell_on_sso_portal=1
# Falling on nginx default page is an error. # Falling on nginx default page is an error.
elif [ "$page_title" = "Welcome to nginx on Debian!" ] elif echo "$page_title" | grep -q "Welcome to nginx"
then then
log_error "The connection attempt fall on nginx default page." log_error "The connection attempt fall on nginx default page."
curl_error=1 curl_error=1