1 FastCGI sent in stderr: “Primary script unknown”

前端 未结 5 1649
有刺的猬
有刺的猬 2021-02-04 05:15

My first time using Nginx, but I am more than familiar with Apache and Linux. I am using an existing project and when ever I am trying to see the index.php I get a 404 File not

5条回答
  •  抹茶落季
    2021-02-04 05:35

    I dont know how the $document_root is calculated but I resolved the issue , by really making sure that my document root is at /usr/share/nginx/ just wher the html folder exist

提交回复
热议问题