Got 'No such file or directory' error while configuring nginx and uwsgi

前端 未结 2 1804
日久生厌
日久生厌 2021-02-10 13:22

UPDATE: if I don\'t use socket and use 127.0.0.1:3031 instead, everything works fine.

Nginx version is 1.6.3, and uwsgi is 2.0.11.1

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-10 14:06

    Put the daimaduan_preview.ini's socket file into /run instead of /tmp. Like in this answer, your system probably using namespaced temporary directories, which means every service can only see its own files in /tmp.

提交回复
热议问题