Answer the question
In order to leave comments, you need to log in
Why does django + nginx = permission denied?
Taken from here .
CentOS 7
Run:
uwsgi --socket pud.sock --wsgi-file test.py --chmod-socket=666
2020/03/13 12:24:27 [crit] 2070#2070: *23 connect() to unix:///root/pud/pud.sock failed (13: Permission denied) while connecting to upstream, client: XXX .XXX.XXX.XXX, server: site.ru, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///root/pud/pud.sock:", host: "site. en"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question