New server, Same config, New error

Centos 6 with nginx and php using php-fpm.
Exactly like my other server only, that one works.

No matter what I do, I get this: “File not found.”
In the headers it shows it’s a 404.

I’ve googled now for hours, followed all the tutorials but still
nothing.

The default server

server {
listen 80;
server_name _;
client_max_body_size 500G;
#charset koi8-r;

#access_log  logs/host.access.log  main;

location / {
  rewrite  ^/dl/(.*)/(.*)/headers/$

/download.php?link=$1&filename=$2&headers=1 last;
rewrite ^/dl/(.)/(.)$ /download.php?link=$1&filename=$2 last;
root /usr/share/nginx/html;
index index.html index.htm index.php;
include conf.d/blockips.conf;
}

error_page  404              /404.html;
location = /404.html {
    root   /usr/share/nginx/html;
}

# redirect server error pages to the static page /50x.html
#
error_page   500 502 503 504  /50x.html;
location = /50x.html {
    root   /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
#    proxy_pass   http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on

127.0.0.1:9000
#
location ~ .php$ {
fastcgi_split_path_info ^(.+.php)(.*)$;
fastcgi_pass backend;
root /usr/share/nginx/html;
fastcgi_index index.php;
fastcgi_param SCRIPT_NAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;

fastcgi_param  QUERY_STRING       $query_string;
fastcgi_param  REQUEST_METHOD     $request_method;
fastcgi_param  CONTENT_TYPE       $content_type;
fastcgi_param  CONTENT_LENGTH     $content_length;

fastcgi_param  REQUEST_URI        $request_uri;
fastcgi_param  DOCUMENT_URI       $document_uri;
fastcgi_param  DOCUMENT_ROOT      $document_root;
fastcgi_param  SERVER_PROTOCOL    $server_protocol;

fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;

fastcgi_param  REMOTE_ADDR        $remote_addr;
fastcgi_param  REMOTE_PORT        $remote_port;
fastcgi_param  SERVER_ADDR        $server_addr;
fastcgi_param  SERVER_PORT        $server_port;
fastcgi_param  SERVER_NAME        $server_name;

# PHP only, required if PHP was built with

–enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors off;
fastcgi_ignore_client_abort off;
expires max;
break;
}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
    deny  all;
}

}

upstream backend {
server 127.0.0.1:9000;
}

Posted at Nginx Forum: