Can I get Django to redirect 404s to my homepage using Nginx?
I'm having a problem getting handler 404 to redirect to my homepage. Here's what I have and tried... In settings.py DEBUG=False In views.py class view_404(request, exception=None): return render(request, "mysite/index.html") In urls.py From django.conf.urls import handler404 urlpatterns = [ path('', views.index,…