Permission denied - nginx and uwsgi socket

前端 未结 9 1818
暗喜
暗喜 2020-12-07 17:44

Well I am currently trying to get my django application served using nginx and uwsgi. I am currently using a virtual environment to which uwsgi is installed. However I am cu

9条回答
  •  旧时难觅i
    2020-12-07 18:09

    I think you just need to change your socket file to 666(664 is ok with www-data), or remove it and run uwsgi server again.

    In my uwsgi.ini:

    chmod-socket = 664
    uid = www-data
    gid = www-data
    

提交回复
热议问题