Runserver should not be used in production env
At present what I do is I start runserver
python manage.py runserver vpsip:8000
and then I use haproxy
to listen on port 8000 and redirect it to port 80, it's working fine, my site works correctly.
Now I saw that when I do DEBUG=False
then it said that Runserver should not be used in production environment
.
So what should I use in production environment? What's the alternative of runserver? What do you guys use?
Comments