django - What is the purpose of NGINX and Gunicorn running in parallel? -
Deploying a lot of Django apps for the use of Amazon 2, the HTTP server NGINX and the Gnichorn
I Wondering what they really did and why both are used in parallel, what is the purpose of running them in parallel?
They have not been used in parallel. NGINX is a . It is in the first line, it accepts incoming connections and decides that they should go to the next location. It (generally) works like static media such as CSS, JS and images. It can do other things like encryption SSL, caching etc. Gunyornorn is the next layer and one is . NGINX sees that the incoming connection is for Simple and universal interface between web servers and web applications or frameworks Gunicorn's job is to manage and run < P> Contrary to this setup, Apache is used with the www.domain.com and they (through configuration files) know that it should pass that connection to Gunicorn Gunicorn is a server which basically
mod_wsgi module To do In this situation, Aperture Server is actually part of Apache, running as a module.
Comments
Post a Comment