What is the purpose of using nginx with gunicorn?
In production nginx works as reverse proxy.  It means users will hit nginx from browser and nginx will forward the call to your application.
Hope this helps.
I want to use gunicorn for a REST API application with Flask/Python. What is the purpose of adding nginx here to gunicorn? The gunicorn site recommends using gunicorn with nginx.