php-fpm and nginx need to be listening on different ports for starters, and then nginx's fastcgi_pass needs to point at the php-fpm port.