Skip to content

Commit 591433c

Browse files
committed
various typo fixes.
1 parent 59093e2 commit 591433c

4 files changed

+7
-7
lines changed

en/00-Foreword01.tut

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ by me.
3636
L<http://openresty.org/|http://openresty.org/>
3737

3838
All of the modules mentioned in these tutorials, including the Nginx stable
39-
core that is fresh enough, have included in this bundle.
39+
core that is fresh enough, have been included in this bundle.
4040

4141
One principle that I've been trying to follow in these tutorials is to
4242
use small and concise configure examples to validate the concepts and principles
@@ -47,7 +47,7 @@ I keep adjusting and correcting my words according to the running results
4747
of my little samples in the process of writing.
4848

4949
For problematic code samples, we will intentionally make them look different
50-
from those good samples, that is, all the lines of the bad samples will
50+
from those good samples, that is, all the lines of bad samples will
5151
be prefixed with a question mark, i.e., "C<?>". Here is an example:
5252

5353
:nginx

en/01-NginxVariables01.tut

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ is heavily influenced by
99
Perl and Bourne Shell as far as I can see, despite the fact that it might not
1010
be Turing-Complete and it is declarative in many places. This is a
1111
distinguishing feature of Nginx, as compared
12-
to the other web servers
12+
to other web servers
1313
like Apache or Lighttpd. Being a programming language, "variables" are
1414
thus a natural part of it (exceptions do exist, of course, as in pure
1515
functional languages like Haskell).
@@ -117,7 +117,7 @@ Luckily, workarounds do exist and here is one proposed by Maxim Dounin: first
117117
we assign to a variable a literal string containing a dollar sign character
118118
via a configuration directive that does I<not> support "variable interpolation"
119119
(remember that not all the directives support "variable interpolation"?), and
120-
then reference this variable later wherever we need a dollar sign. Here is such
120+
then reference this variable later whenever we need a dollar sign. Here is such
121121
an
122122
example to demonstrate the idea:
123123

@@ -159,7 +159,7 @@ with the string C<"$"> unconditionally.
159159
There is a special case for "variable interpolation", that is, when the variable
160160
name is followed directly by characters allowed in variable names (like
161161
letters, digits, and underscores).
162-
In such cases we can use a special notation to disambiguate the variable name
162+
In such cases, we can use a special notation to disambiguate the variable name
163163
from the subsequent literal characters, for instance,
164164

165165
:nginx

en/01-NginxVariables03.tut

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ the behavior of the L<ngx_proxy> module.
133133

134134
We have already learned in previous sections that when reading the built-in
135135
variable L<ngx_core/$args>, Nginx executes a special piece of code to obtain a
136-
value on-the-fly and when writing to this variable, Nginx also executes another
136+
value on-the-fly and when writing to this variable, Nginx executes another
137137
special piece of code to propagate the change. In Nginx's terminology, the
138138
special code executed for reading the variable is called "get handler"
139139
and the code for writing to the variable is called "set handler". Different

en/02-NginxDirectiveExecOrder01.tut

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ from source:
8888
cd nginx-1.0.10/
8989
./configure --with-debug
9090
make
91-
sudu make install
91+
sudo make install
9292

9393
In case the package L<ngx_openresty|http://openresty.org> is used. The
9494
option C<--with-debug> can be used with its C<./configure> script as well.

0 commit comments

Comments
 (0)