Moving to production - How to properly config nginx and gunicorn to Django? I've been scouring the internet and I need some clear explanation

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SonarQube - Static code analysis for 29 languages.
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
  • debops

    DebOps - Your Debian-based data center in a box

    I'm planning on adding to the litany of tutorials on this soon. My process is to use debops to provision and secure a VPS and install the docker service. The app is spun up with docker-compose and the appropriate containers - if you use something like cookiecutter-django you can get a basis for the docker compose files you need. This uses traefik as the proxy for gunicorn instead of nginx, and then you'll need to serve static and media either with whitenoise or with S3.

  • cookiecutter-django

    Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

    I'm planning on adding to the litany of tutorials on this soon. My process is to use debops to provision and secure a VPS and install the docker service. The app is spun up with docker-compose and the appropriate containers - if you use something like cookiecutter-django you can get a basis for the docker compose files you need. This uses traefik as the proxy for gunicorn instead of nginx, and then you'll need to serve static and media either with whitenoise or with S3.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts