Front It with Nginx and Compose
Reverse proxy and orchestrate the stack.
Why Add Nginx
Gunicorn runs your app, but Nginx sits in front as a reverse proxy. It handles the messy public-facing work so Gunicorn can focus on Python. 🛡️
What a Reverse Proxy Does
A reverse proxy receives every client request first, then forwards it to Gunicorn and relays the response back out.
All lessons in this course
- Why Not the Built-in Dev Server
- Run Flask Under Gunicorn
- Write a Production Dockerfile
- Front It with Nginx and Compose