Concerning the built in debugging server started with the manage.py runserver command, the Django docs state, “DON’T use this server in anything resembling a production environment.”
If I wanted to develop a Django application over ssh on a remote machine, would using Nginx as a proxy to a running Django debug server be a reasonable thing to do? Is the Django debug server insecure, or just not built to handle large amounts of traffic?
From the Django docs:
So, that answers the latter two questions. As for the former, it depends on how your debug server is set up. If your server is exposed to the public Internet, doesn’t have a firewall blocking port 8000, and you intend to use
runserverwith something other than the default 127.0.0.1 address, set up a more ‘proper’ application stack.If you’re going to use nginx, why not just use the suggested FastCGI configuration so that your debug environment will be more similar to the future production environment?