Nginx: stat() failed (13: permission denied)

后端 未结 16 1854
梦谈多话
梦谈多话 2020-12-04 05:04

I am using the default config while adding the specific directory with nginx installed on my ubuntu 12.04 machine.

server {
        #listen   80; ## listen          


        
16条回答
  •  暖寄归人
    2020-12-04 05:44

    This is usually the privilege problem... For me, its because i use the /root/** as the nginx root, it need higher privilege. An easy way is just move the project into a directory created by yourself.

提交回复
热议问题