Nginx:对sock文件的正确chmod权限

时间:2017-01-26 08:17:08

标签: django nginx

使用nginx设置站点,并在错误日志中拒绝了sock文件的权限。

22017/01/26 08:42:38 [crit] 2362#2362: *1 connect() to unix:///tmp/kb.sock failed (13: Permission denied) while connecting to upstream, client: 197.232.12.165, server: kenyabuzz.nation.news, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///tmp/kb.sock:", host: "kenyabuzz.nation.news"

为sock文件设置的最佳chmod权限是什么?

0 个答案:

没有答案