This is a beginer question, but I am having trouble understanding the abstraction between Gunicorn and Nginx. I am not looking for a detailed answer, just at a high level what is the role that each plays? How do they interact?
This is a beginer question, but I am having trouble understanding the abstraction between
Share
Per Gunicorn’s deploy doc, my understanding is that you use Nginx as a proxy server for Gunicorn.
As Gunicorn is ported from Ruby’s Unicorn, I’m assuming the limitations and specifications of Unicorn apply to Gunicorn as well:
Gunicorn’s deploy doc says much the same thing:
So Gunicorn serves fast, low-latency high-bandwidth clients and Nginx serves the rest.