7

Since yesterday I have been wrestling with this problem: unable to load configuration from uwsgi

When I google it, nothing comes up. I am trying to run UWSGI under nginx with a very simple uwsgi.ini file. The file is being pointed to correctly.

Can anyone please explain what this error is, and how I ca go about diagnosing it and fixing it. If there is any more information I can post to help then please just ask.

Regards,

James

J.Zil
  • 1,103
  • 3
  • 20
  • 29

1 Answers1

10

You can try running uwsgi manually to check that your ini file is correct or not,

uwsgi --ini myconf.ini --http :9090 --log-to /tmp/uwsgi.log
tail -f /tmp/uwsgi.log

You can try access the app (something like localhost:9090). There shoud be something write to the log file. If uwsgi itself works fine then the problem might be at nginx configuration.

Reference:

MrTeera
  • 336
  • 2
  • 8