Linux Nginx PHP配置的问题

我的项目是在/home/www/myweb 下面,我想访问http://IP/myweb时直接定位到项目下,我这样配置不行,访问.php文件,出错:File not found.请问应该怎么弄
location ~ .php$ {
if ( $fastcgi_script_name ~ ..*\/.*php ) {
return 403;
}

            fastcgi_pass 127.0.0.1:9000;

            fastcgi_param SCRIPT_FILENAME /home/www/myweb$fastcgi_script_name;

            include fastcgi_params;
    }

前面还配置了
location myweb {
alias /home/www/myweb;
}

alias匹配的路径跟你URL匹配是不是对应上了。不然就找不到文件。