http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Following this step ( with ini ), but raise an error:
--- no python application found, check your startup logs for errors ---
...
Then, try this in root dir of django project :
uwsgi --socket socketname.sock --module projectname.wsgi --chmod-socket=666
If it resolved, your ini file to run uwsgi could be have an error with path.
chdir should be django root (contain manage.py).
module should be projectname.wsgi
I have too many things to think about above thing because it doesn't print errors. But the point at issue was simple.
No comments:
Post a Comment