>
>
> when i run localhost:82 it will run notice and goto index.html
> but when i run localhost:82/board
> it will return 404 not found
>
>
You need to determine whether Django or Nginx is responding with the 404
error.

Do you have DEBUG = True in your settings.py?

What does the 404 error page look like? Assuming you haven't customized the
404 error page, the default Nginx 404 page is white, and actually says
Nginx on it (http://i.stack.imgur.com/v8X8y.png).

With DEBUG = True enabled in Django, you should receive the yellow Django
error page that has more details relating to the error (hopefully). (
http://i.stack.imgur.com/V2f7f.jpg)

Does /home/minom/project/school/school/uwsgi.log contain any useful
information (or at least show the request was made)? If so, Django is to
blame and we need to further examine your URL's/views.

Does /var/log/nginx/school.error.log contain any useful information? Nginx
may secretly be complaining about something behind the scenes.

Does your other URL/view also return a 404? (http://localhost:82) If that
one works, then the issue definitely lies with Django.

-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%2BciX-hN%3DBr4V4C3VK%3DTFocvL%2B4rnScEsLV3OSTRUpyNeZYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to