Nginx error: (13: Permission denied) while connecting to upstream

后端 未结 6 1902
时光取名叫无心
时光取名叫无心 2020-12-02 17:10

I am getting this error in my nginx-error.log file:

2014/02/17 03:42:20 [crit] 5455#0: *1 connect() to unix:/tmp/uwsgi.sock failed (13: Permissi         


        
6条回答
  •  不思量自难忘°
    2020-12-02 17:42

    You have to set these permissions (chmod/chown) in uWSGI configuration.

    It is the chmod-socket and the chown-socket.

    http://uwsgi-docs.readthedocs.org/en/latest/Options.html#chmod-socket http://uwsgi-docs.readthedocs.org/en/latest/Options.html#chown-socket

提交回复
热议问题