I am trying to follow these steps in this guide: http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Before I get to the nginx part, I try to make sure uWSGI is working correctly
my folder structure is srv / www / domain / projectdatabank /
the project database folder contains the manage.py file
My wsgi.py file looks like this:
import os import sys from django.core.wsgi import get_wsgi_application application = get_wsgi_application()
Do you need to see my settings.py?
I get the following error when I point myself to the browser:
-- no python application found, check your startup logs for errors --- [pid: 10165|app: -1|req: -1/1] 66.56.35.151 () {38 vars in 681 bytes} [Tue Jul 9 18:19:46 2013] GET /admin/ => generated 21 bytes in 0 msecs (HTTP/1.1 500) 1 headers in 57 bytes (0 switches on core 0) --- no python application found, check your startup logs for errors --- [pid: 10165|app: -1|req: -1/2] 66.56.35.151 () {36 vars in 638 bytes} [Tue Jul 9 18:19:49 2013] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 1 headers in 57 bytes (0 switches on core 0)
Now when I check my uWGI log, it is the same as above.
source share