Skip to content

Commit 833e204

Browse files
committed
update nginx logo on nginx page
1 parent 8b74758 commit 833e204

File tree

4 files changed

+185
-3
lines changed

4 files changed

+185
-3
lines changed

all.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6082,11 +6082,26 @@ <h3>Apache HTTP Server resources</h3>
60826082
</li>
60836083
</ul>
60846084
<h1>Nginx</h1>
6085-
<p>Nginx is the
6085+
<p><a href="https://nginx.org/en/">Nginx</a>, pronounced "engine-X", is the
60866086
<a href="http://w3techs.com/technologies/cross/web_server/ranking">second most common web server among the top 100,000 websites</a>. Nginx also functions well as a
60876087
reverse proxy to handle requests and pass back responses for Python
60886088
<a href="/wsgi-servers.html">WSGI servers</a> or even other web servers such as Apache.</p>
6089+
<p><a href="https://nginx.org/en/" style="border: none;"><img src="/img/nginx-logo.png" width="100%" alt="Official Nginx logo." class="technical-diagram"></a></p>
6090+
<h2>How is Nginx used in a Python web app deployment?</h2>
6091+
<p>Nginx is commonly used as a web server to serve static assets such
6092+
as images, CSS and JavaScript to web browser clients. </p>
6093+
<p>Nginx is also typically configured as a reverse proxy, which passes
6094+
appropriate incoming HTTP requests to a <a href="/wsgi-servers.html">WSGI server</a>.
6095+
The WSGI server produces dynamic content by running Python code. When the
6096+
WSGI server passes its response, which is often in the HTML, JSON or XML
6097+
format, the reverse proxy then responds to the client with that result. </p>
6098+
<p>The request and response cycle with a reverse proxy server and the WSGI
6099+
server can be seen in the following diagram.</p>
60896100
<p><img src="/img/web-servers-map.png" width="100%" alt="Python web application deployments rely on Nginx either as a web server or reverse proxy for WSGI servers." class="technical-diagram" /></p>
6101+
<p>Typically the client will not know or need to know that a Python web
6102+
application generated the result. The result could have instead been
6103+
generated by one or more backend systems written in any programming language,
6104+
not just Python.</p>
60906105
<div class="well see-also">Nginx is an implementation of the <a href="/web-servers.html">web server</a> concept. Learn how these pieces fit together in the <a href="/deployment.html">deployment</a> chapter or view the <a href="/table-of-contents.html">table of contents</a> for all topics.</div>
60916106

60926107
<h2>Should I use Nginx or the Apache HTTP Server?</h2>
@@ -6136,6 +6151,12 @@ <h2>Securing Nginx</h2>
61366151
</li>
61376152
</ul>
61386153
<h2>General Nginx resources</h2>
6154+
<p>Nginx can be used without Python so there are a massive number of fantastic
6155+
resources available for installing, configuring and optimizing this
6156+
<a href="/web-servers.html">web server</a> implementation. The following resources are
6157+
ones that I collected during my own struggle while learning how to use
6158+
Nginx after I had used <a href="/apache-http-server.html">Apache HTTP Server</a> for
6159+
several years.</p>
61396160
<ul>
61406161
<li>
61416162
<p>The <a href="http://www.aosabook.org/en/nginx.html">Nginx chapter</a> in the

0 commit comments

Comments
 (0)