no port in upstream “fastcgi_backend” in /magento2/nginx.conf.sample:40

Make sure you have the following line added in ngin configuration

upstream fastcgi_backend {  
    server unix:/var/run/php/php7.0-fpm.sock;
}

Or

upstream fastcgi_backend {  
server 127.0.0.1:9000;
}