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

后端 未结 16 1864
梦谈多话
梦谈多话 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:50

    I've just had the same problem on a CentOS 7 box.

    Seems I'd hit selinux. Putting selinux into permissive mode (setenforce permissive) has worked round the problem for now. I'll try and get back with a proper fix.

提交回复
热议问题