This post explains how to install and setup nginx as a reverse proxy to gunicorn and web server to serve static files in Django.
Setting up Django for Deployment: Gunicorn
Web Servers like Apache or NGINX are great for handling HTTP requests. Unfortunately,they typically cannot communicate with Python applications directly. That is where gunicorn comes in.
Learn how to install, configure and run gunicorn with Django in this article.
Installing nginx on Linux
In this post, I show you two ways of installing and configuring nginx on Linux.
PyPI In a box: Using a Raspberry Pi as a portable PyPI server
We all use PyPI – here’s a way to ensure we always have access.