n5321 | 2024年8月31日 09:21

Tags:


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

  1. OS - Ubuntu
  1. WSGI Server - Gunicorn
  1. Web Server - Nginx
  1. Database - PostgreSQL

A modern Django application's production stack is built with the following components.