that means, if the value of $http_upgrade is null or that variable doesn't exist, the value of $connection_upgrade will set to "close", or it will set to "upgrade" in the other cases.
the $http_upgrade is the value of the "Upgrade" header in the client request.