laihuchun 发表于 2013-06-19 14:40

nginx 的配置文件

本帖最后由 laihuchun 于 2013-06-19 17:17 编辑

nginx报错


location/ {
            root   /usr/local/nginx/html;
            fastcgi_pass   127.0.0.1:9000;
            indexindex.php;
            fastcgi_paramSCRIPT_FILENAME   $document_root$fastcgi_script_name;
            include      fastcgi_params;
      }



error.log
error] 1889#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.224.230.90, server:xxxx.com, request: "GET /wordpress/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.xxx.com"

maochanglu 发表于 2013-06-21 09:17

fastcgi://127.0.0.1:9000
有没有配置php在运行呢?
页: [1]
查看完整版本: nginx 的配置文件