Appologize for the late reply.
So this is related to nginx configuration?
Okay I'll ask in stack overflow then,
My app is public, but used for testing purpose. I'm still learning to
deploy the app.
I use nginx because there's the need to serve react app along with the
django app, i use
Appreciate the clarification!
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-rest-framework+unsubscr...@googlegroups.com.
For more options,
Jason, we agree. What I mean by having a public app is the same as what you
mean by having something in production. Anything in production should have a
reverse proxy like nginx or Apache, etc. Reading my message again, I can see
why it could have been taken that way when I ranted about the
>
> If you said no to any of these, then you shouldn’t be using nginx.
>
I *strongly* disagree with this. you should use apache with mod_wsg or
nginx with uwsgi/gunicorn/etc for production, in which having 10, 1000 or a
million users is beside the question.
--
You received this message
Remove nginx from the equation. Use runserver because you’re clearly still in
development. Does your app work then?
IMHO you are not ready to add more things to your stack yet. The ONLY thing
that should be in your stack right now is Django, and possibly a different
database because ...
sounds to me you don't have server_name set up for your nginx. But not
sure if this is the relevant place for that, since its not Django/DRF
related, but rather nginx configuration.
Perhaps stackoverflow would be a better place to ask?
--
You received this message because you are subscribed