Fix Issues
Troubleshooting playbooks for common Django, Nginx, and Gunicorn production failures.
Best for developers who already deployed and now need to restore service fast.
Guides in recommended order
If you're seeing a 502 Bad Gateway error when deploying Django with Nginx and Gunicorn, it usually means:
Learn how to troubleshoot and fix the 'Connection Refused' error when Nginx fails to connect to Gunicorn. This guide covers common causes and solutions to get your web application running smoothly.
Learn how to resolve 'Permission Denied' errors when Nginx tries to access Gunicorn's socket file. This guide covers common causes and step-by-step fixes to ensure smooth communication between Nginx and Gunicorn in your Django deployment.
If your Django site loads but CSS is missing, JavaScript is broken, or the admin panel looks unstyled, then your static files are not being served correctly. This guide will help you fix it step-by-step.
Troubleshooting guide to fix Django media files not serving in production. Learn how to configure media root, Nginx mappings, and permissions to resolve upload issues.