You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/nginx/admin-guide/web-server/app-gateway-uwsgi-django.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,20 +22,20 @@ Many application containers have embedded external HTTP interfaces with some rou
22
22
<spanid="about-uwsgi-django"></span>
23
23
## About uWSGI and Django
24
24
25
-
A few words about "specialized interfaces". Although useful, HTTP is not designed for modern, lightweight application‑deployment scenarios. Standardized interfaces evolved for use with various application frameworks and application containers. The Web Server Gateway Interface ([WSGI](http://wsgi.readthedocs.org/en/latest/)) is one of these. It interfaces between a web server/proxy and Python‑based applications.
25
+
A few words about "specialized interfaces." As useful as it is, HTTP has never been designed for modern, lightweight application‑deployment scenarios. Over time, standardized interfaces have evolved for use with various application frameworks and application containers. One of these interfaces is the Web Server Gateway Interface ([WSGI](http://wsgi.readthedocs.org/en/latest/)), an interface between a web server/proxy and Python‑based applications.
26
26
27
27
One common application server is the [uWSGI application server container](https://github.com/unbit/uwsgi). It offers [uwsgi](http://uwsgi-docs.readthedocs.org/en/latest/Protocol.html) - its own implementation of the WSGI protocol.
28
28
29
29
Other than that, the uWSGI application server supports HTTP, FastCGI, and SCGI – with the uwsgi protocol recommended as the fastest way to talk to applications.
30
30
31
31
<spanid="configure"></span>
32
-
## Configuring NGINX and NGINX Plus for Use with uWSGI and Django
32
+
## Configure NGINX and NGINX Plus for Use with uWSGI and Django
33
33
34
34
This document provides an example of how to configure NGINX and NGINX Plus for use with a [uWSGI](http://uwsgi-docs.readthedocs.org/en/latest/) server and a Python development environment.
35
35
36
-
NGINX0.8.40 and later (and all releases of NGINXPlus) includes native support for passing traffic from users to Python applications via the uwsgi protocol. If you download[NGINX OpenSource binaries or source](https://nginx.org/en/download.html) from our official repositories, or [NGINXPlus from the customer portal](https://account.f5.com/myf5), you don't have to do anything to enable the uwsgi protocol. NGINX and NGINXPlus support uswgi by default.
36
+
NGINX0.8.40 and later (and all releases of NGINXPlus) includes native support for passing traffic from users to Python applications via the uwsgi protocol. If you downloaded[NGINX OpenSource binaries or source](https://nginx.org/en/download.html) from our official repositories, or [NGINXPlus from the customer portal](https://account.f5.com/myf5), no action is needed to enable support for the uwsgi protocol – NGINX and NGINXPlus support uswgi by default.
37
37
38
-
Configuring the uWSGI application container itself is outside the scope of this document. The excellent [Quickstart for Python/WSGI applications](http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html)has more information.
38
+
Configuring the uWSGI application container itself is outside the scope of this document; refer to the excellent [Quickstart for Python/WSGI applications](http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html)for more information.
39
39
40
40
[Django](https://www.djangoproject.com/) is a common Python web framework. For simplicity the example uses a Django‑based setup for the Python app. The [Django documentation](https://docs.djangoproject.com/en/1.11/) provides extensive information on how to configure a Django environment.
41
41
@@ -96,9 +96,9 @@ NGINX or NGINX Plus serves static files from **/var/django/projects/myapp/static
96
96
<spanid="conclusion"></span>
97
97
## Conclusion
98
98
99
-
Lightweight, mixed app setups are a popular way to build and deploy modern web apps. Newer, standardized application interface protocols like uwsgi and FastCGI enable faster communication between users and applications.
99
+
Lightweight, heterogeneous application environments are becoming a popular way of building and deploying modern web applications. Newer, standardized application interface protocols like uwsgi and FastCGI enable faster communication between users and applications.
100
100
101
-
Using NGINX and NGINXPlus in front of an application container has become a common way to free applications from the burden of HTTP traffic management, and to protect the application from unexpected spikes of user traffic, malicious behavior, denial‑of‑service (DoS) attacks, and more. This allows developers to focus on the application logic, and leave the web acceleration and fundamental HTTP traffic security tasks to NGINX or NGINXPlus.
101
+
Using NGINX and NGINXPlus in front of an application container has become a common way to free applications from the burden of HTTP traffic management, and to protect the application from unexpected spikes of user traffic, malicious behavior, denial‑of‑service (DoS) attacks, and more. This allows developers to fully focus on the application logic, and leave the web acceleration and fundamental HTTP traffic security tasks to NGINX or NGINXPlus.
0 commit comments