*12 connect() to unix:/home/user/firstsite/firstsite.sock failed (13: Permission denied) while connecting to upstream

June 9, 2017 1.1k views
Nginx Ubuntu

2017/06/09 12:50:48 [crit] 7925#7925: *12 connect() to unix:/home/user/firstsite/firstsite.sock failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1, server: firstsite.com, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/home/user/firstsite/firstsite.sock:", host: "firstsite.com"

2 comments
1 Answer

This question was answered by @bhuvaneshwarys:

I have solved it. There was a configuration error in nginx. my wsgi params was not properly configured. I confirured it. and it solved

View the original comment

Have another answer? Share your knowledge.