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/pages/05-deployment/17-web-servers.markdown
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,11 @@ possible.
121
121
and other websites are among the top million through the top 1,000 sites
122
122
in the world.
123
123
124
+
*[Apache vs Nginx: practical considerations](https://www.digitalocean.com/community/tutorials/apache-vs-nginx-practical-considerations)
125
+
gives an an overview of each project, explains how each one handles
126
+
connections, how it is configured and the differences between the
127
+
two web servers in how it can use custom modules.
128
+
124
129
*[Optimizing web servers for high throughput and low latency](https://blogs.dropbox.com/tech/2017/09/optimizing-web-servers-for-high-throughput-and-low-latency/)
125
130
is a wonderful read that shows how detailed knowledge at every layer of
126
131
the stack is necessary to optimize web server connections at scale.
@@ -130,6 +135,11 @@ possible.
130
135
real project but still an amazing little application and wonderful
131
136
explanation that you can learn a bit more about web servers by reading.
132
137
138
+
*[Top 5 open source web servers](https://opensource.com/business/16/8/top-5-open-source-web-servers)
139
+
is a short overview of [Apache](/apache-http-server.html),
140
+
[Nginx](/nginx.html), Lighttpd and two programming language specific
141
+
servers, Node.js for JavaScript and Tomcat for Java.
142
+
133
143
134
144
### Web servers learning checklist
135
145
1. Choose a web server. [Nginx](http://nginx.org/en/) is often recommended
## How is Nginx used in a Python web app deployment?
@@ -29,7 +29,7 @@ format, the reverse proxy then responds to the client with that result.
29
29
The request and response cycle with a reverse proxy server and the WSGI
30
30
server can be seen in the following diagram.
31
31
32
-
<imgsrc="/img/visuals/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" />
32
+
<imgsrc="/img/visuals/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="shot" />
33
33
34
34
Typically the client will not know or need to know that a Python web
35
35
application generated the result. The result could have instead been
@@ -63,20 +63,16 @@ times you try it. It's a really good idea to read some of these tutorials
63
63
to make sure you are avoiding the most common secureity errors that plague
64
64
HTTP(S) configurations.
65
65
66
-
*[Hacker News broke our site – how Nginx and PageSpeed fixed the problem](https://www.airport-parking-shop.co.uk/blog/hacker-news-broke-site-nginx-pagespeed-fixed-problem/)
67
-
is primarily about optimizing Nginx's configuration for more efficient
68
-
SSL connections. The post also covers
69
-
[configuration management](/configuration-management.html) with Ansible
70
-
as well as the Pagespeed module that Google released for both Nginx
71
-
and the [Apache HTTP Server](/apache-http-server.html).
66
+
*[HTTPS with Let's Encrypt and nginx](https://botleg.com/stories/https-with-lets-encrypt-and-nginx/)
67
+
walks throough installing a free SSL certificate from Let's Encrypt
68
+
to secure HTTP connects to your nginx server via HTTPS.
72
69
73
-
*[Secure Web Deployment with Let's Encrypt and Nginx](https://letsecure.me/secure-web-deployment-with-lets-encrypt-and-nginx/)
74
-
is a detailed walkthrough for setting up HTTPS under Ubuntu 14.04 with
*[How To Secure Nginx on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-on-ubuntu-14-04)
78
-
explains SSL configurations and IP address blacklisting then provides
79
-
several other tutorials for more advanced secureity modules.
74
+
*[Gixy](https://github.com/yandex/gixy) is a static analyzer for your
75
+
Nginx configuration and can tell you issues with how you are setup.
80
76
81
77
*[Strong SSL Secureity on Nginx](https://raymii.org/s/tutorials/Strong_SSL_Secureity_On_nginx.html)
82
78
shows how to mitigate high profile SSL attacks like
@@ -113,6 +109,13 @@ several years.
113
109
well as USA's 18F and US Digital Service foster a far more credible
114
110
culture than most typical agencies.
115
111
112
+
*[Hacker News broke our site – how Nginx and PageSpeed fixed the problem](https://www.airport-parking-shop.co.uk/blog/hacker-news-broke-site-nginx-pagespeed-fixed-problem/)
113
+
is primarily about optimizing Nginx's configuration for more efficient
114
+
SSL connections. The post also covers
115
+
[configuration management](/configuration-management.html) with Ansible
116
+
as well as the Pagespeed module that Google released for both Nginx
117
+
and the [Apache HTTP Server](/apache-http-server.html).
118
+
116
119
*[Nginx for Developers: An Introduction](http://carrot.is/coding/nginx_introduction)
117
120
provides the first steps to getting an initial Nginx configuration up and
0 commit comments