Configuring Nginx to Serve Django Applications

Configuring Nginx to Serve Django Applications

2026-09-01 Categories: Django Deployment

A detailed guide on configuring Nginx as a reverse proxy for Django, covering the theory behind WSGI/ASGI, static and media files, request flow diagrams, SSL termination, and a complete production-ready configuration example.

Migrating from uWSGI to Gunicorn + Uvicorn (ASGI) on a VPS

Migrating from uWSGI to Gunicorn + Uvicorn (ASGI) on a VPS

2026-08-11 Categories: Django Deployment

A step-by-step guide on switching a Django deployment on a VPS from the WSGI server uWSGI to an ASGI stack based on Gunicorn and Uvicorn workers, including how to run both stacks side by side for two different projects.

Django ORM Optimization

Django ORM Optimization

2026-07-08 Categories: Django Optimization

A guide on how to optimize your Django ORM queries for better performance, including techniques like select_related, prefetch_related, and more.

Using python-decouple in Django projects

Using python-decouple in Django projects

2026-06-22 Categories: Django Python

A blog post about using python-decouple in Django projects, comparing it with other solutions and providing usage examples.