Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

NGiNX and uWSGI provides a great combination for Django-based web service on CentOS 7.  NGiNX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. We use uWSGI to integrate with NGiNX, because NGiNX does not support WSGI - uWSGI is a web server supports WSGI is used to forward requests from a web Server (such as Apache or NGINX) to a backend Python web application or framework. 

...

Gliffy Diagram
2
macroId70c86f5b-38fd-47f2-81a9-eeb5a4b24bbd
displayNameDjango with uWSGI, nginx and SSL on CentOS 7
nameDjango with uWSGI, nginx and SSL on CentOS 7
pagePin3

The main function of NGiNX is a load balancer handling all the HTTP/HTTPS traffics from the internet and assign it to uWSGI, so all Django application will work as planned.

WSGI(Web Server Gateway Interface) is used to forward requests from a web Server (such as Apache or NGINX) to a backend Python web application or framework. There are different kind of WSGI variants:

...