location settings for Django Uwsgi Nginx Configuration for production

sandyman nginx-forum at forum.nginx.org
Sun Sep 17 14:49:09 UTC 2017

2 hours later still struggling but getting some error logs now 

 location /foo { return 200 "yikes ";}

returns yikes .. 

however  www.asandhu.xyz   returns 502 

log file states either uwsgi.sock failed (13: Permission denied)  664 and
owned by me 
 or (111: Connection refused) when chmod 777 and owned by me

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276402,276423#msg-276423

More information about the nginx mailing list