You have the answer in the logs you posted. Nginx can't connect to php handler daemon on port 9000, most likely php-fpm.