Deploy Django
n5321 | 2024年8月31日 09:21
Out of the box, Django comes with a built-in development server that is used locally. However, it isn't suitable for the production environment because it's single-threaded and lacks security measures.
Production Stack Architecture
- OS - Ubuntu
- WSGI Server - Gunicorn
- Web Server - Nginx
- Database - PostgreSQL
A modern Django application's production stack is built with the following components.