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

This commit is contained in:
Alexandre Aubin 2021-01-02 20:11:00 +01:00
parent 2d611b8cb9
commit e1508b6b42

View file

@ -520,7 +520,7 @@ CHECK_URL () {
yuno_portal=1 yuno_portal=1
else else
yuno_portal=0 yuno_portal=0
if [ "$url_title" = "Welcome to nginx on Debian!" ] if echo "$url_title" | grep -q "Welcome to nginx"
then then
# Falling on nginx default page is an error. # Falling on nginx default page is an error.
curl_error=1 curl_error=1