> > > location / { > uwsgi_pass unix://tmp/school.sock; > include uwsgi_params; > try_files $uri $uri/ =404; > } >
I have a feeling this section is what is causing you trouble. Do you have a separate "upstream <name> {}" section that you can use with uwsgi_pass? Have you tried removing the try_files line? I haven't played with it personally, but it doesn't look correct at first glance according to the docs, I don't believe your request is ever being sent to uWSGI. http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files Have you taken a look at the uWSGI Django documentation page? It has a working (I'd assume) config: https://uwsgi.readthedocs.io/en/latest/tutorials/Django_and_nginx.html Use that config as a reference to assess your own. -James -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciW_BGjNd0dtdF%3DGP_Rvzigh_EmCRHzkca4A8RWJOs9bMw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.