nginx配置问题

File not found.

nginx, error.log

FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.2.104, server: blog.kiwidev.com, request: “GET /index.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “blog.kiwidev.com”

 

检查nginx配置:

root /home/kiwidev/devspace/blog/public/;
index index.php index.html index.htm;

&

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;