Re: deploy django with nginx

2016-07-15 Thread Javier Guerra Giraldez
On 15 July 2016 at 11:47, 1351552...@qq.com <1351552...@qq.com> wrote: > and with the message in file /var/log/nginx/error.log : > connect() to unix:///home/wangwei/yaohang/yaohang.sock failed (13: > Permission denied check under what user is running nginx, and make sure that it has r/w

Re: deploy django with nginx

2016-07-15 Thread Rafael E. Ferrero
I used this link without any trouble https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-14-04 Rafael E. Ferrero 2016-07-15 7:47 GMT-03:00 1351552...@qq.com <1351552...@qq.com>: > hi everyone: > > I am tring to deploy my site by

deploy django with nginx

2016-07-15 Thread 1351552...@qq.com
hi everyone: I am tring to deploy my site by nginx and uwagi in my project yaohang,i have these files: #yaohang_uwsgi.ini [uwsgi] socket = :8001 chmod-socket= 664 master = true module = yaohang_uwsgi processes = 8 listen = 120 enable-threads = true daemonize =