Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions xml/en/docs/http/ngx_http_core_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Module ngx_http_core_module"
link="/en/docs/http/ngx_http_core_module.html"
lang="en"
rev="114">
rev="115">

<section id="directives" name="Directives">

Expand Down Expand Up @@ -2661,10 +2661,8 @@ Before 0.8.48, the machine’s hostname was used by default.
</para>

<para>
During searching for a virtual server by name,
if the name matches more than one of the specified variants,
(e.g. both a wildcard name and regular expression match), the first matching
variant will be chosen, in the following order of priority:
The search is performed in the following order of priority
and terminates on the first matching variant:
<list type="enum">

<listitem>
Expand Down
19 changes: 9 additions & 10 deletions xml/en/docs/http/ngx_http_map_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Module ngx_http_map_module"
link="/en/docs/http/ngx_http_map_module.html"
lang="en"
rev="5">
rev="6">

<section id="summary">

Expand Down Expand Up @@ -153,32 +153,31 @@ indicates that the variable is not cacheable (1.11.7).
</para>

<para>
If the source value matches more than one of the specified variants,
e.g. both a mask and a regular expression match, the first matching
variant will be chosen, in the following order of priority:
The search is performed in the following order of priority
and terminates on the first matching variant:
<list type="enum">

<listitem>
string value without a mask
the string value without a mask
</listitem>

<listitem>
longest string value with a prefix mask,
the longest string value with a prefix mask,
e.g. “<literal>*.example.com</literal>”
</listitem>

<listitem>
longest string value with a suffix mask,
the longest string value with a suffix mask,
e.g. “<literal>mail.*</literal>”
</listitem>

<listitem>
first matching regular expression
(in order of appearance in a configuration file)
the first matching regular expression
(in order of appearance in the configuration file)
</listitem>

<listitem>
default value
the default value
</listitem>

</list>
Expand Down
20 changes: 10 additions & 10 deletions xml/en/docs/http/server_names.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<article name="Server names"
link="/en/docs/http/server_names.html"
lang="en"
rev="4"
rev="5"
author="Igor Sysoev"
editor="Brian Mercer">

Expand Down Expand Up @@ -52,27 +52,27 @@ server {
</para>

<para>
When searching for a virtual server by name, if name matches more than one of
the specified variants, e.g. both wildcard name and regular expression match,
the first matching variant will be chosen, in the following order of precedence:
The search is performed in the following order of priority
and terminates on the first matching variant:
<list type="enum">

<listitem>
exact name
the exact name
</listitem>

<listitem>
longest wildcard name starting with an asterisk, e.g.
“<literal>*.example.org</literal>”
the longest wildcard name starting with an asterisk,
e.g. “<literal>*.example.org</literal>”
</listitem>

<listitem>
longest wildcard name ending with an asterisk, e.g. “<literal>mail.*</literal>”
the longest wildcard name ending with an asterisk,
e.g. “<literal>mail.*</literal>”
</listitem>

<listitem>
first matching regular expression
(in order of appearance in a configuration file)
the first matching regular expression
(in order of appearance in the configuration file)
</listitem>

</list>
Expand Down
8 changes: 3 additions & 5 deletions xml/en/docs/stream/ngx_stream_core_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<module name="Module ngx_stream_core_module"
link="/en/docs/stream/ngx_stream_core_module.html"
lang="en"
rev="44">
rev="45">

<section id="summary">

Expand Down Expand Up @@ -591,10 +591,8 @@ machine’s hostname is inserted.
</para>

<para>
During searching for a virtual server by name,
if the name matches more than one of the specified variants,
(e.g. both a wildcard name and regular expression match), the first matching
variant will be chosen, in the following order of priority:
The search is performed in the following order of priority
and terminates on the first matching variant:
<list type="enum">

<listitem>
Expand Down
19 changes: 9 additions & 10 deletions xml/en/docs/stream/ngx_stream_map_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Module ngx_stream_map_module"
link="/en/docs/stream/ngx_stream_map_module.html"
lang="en"
rev="2">
rev="3">

<section id="summary">

Expand Down Expand Up @@ -139,32 +139,31 @@ indicates that the variable is not cacheable (1.11.7).
</para>

<para>
If the source value matches more than one of the specified variants,
e.g. both a mask and a regular expression match, the first matching
variant will be chosen, in the following order of priority:
The search is performed in the following order of priority
and terminates on the first matching variant:
<list type="enum">

<listitem>
string value without a mask
the string value without a mask
</listitem>

<listitem>
longest string value with a prefix mask,
the longest string value with a prefix mask,
e.g. “<literal>*.example.com</literal>”
</listitem>

<listitem>
longest string value with a suffix mask,
the longest string value with a suffix mask,
e.g. “<literal>mail.*</literal>”
</listitem>

<listitem>
first matching regular expression
(in order of appearance in a configuration file)
the first matching regular expression
(in order of appearance in the configuration file)
</listitem>

<listitem>
default value
the default value
</listitem>

</list>
Expand Down
8 changes: 3 additions & 5 deletions xml/ru/docs/http/ngx_http_core_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Модуль ngx_http_core_module"
link="/ru/docs/http/ngx_http_core_module.html"
lang="ru"
rev="114">
rev="115">

<section id="directives" name="Директивы">

Expand Down Expand Up @@ -2657,10 +2657,8 @@ server {
</para>

<para>
При поиске виртуального сервера по имени,
если имени соответствует несколько из указанных вариантов,
например, одновременно подходят и имя с маской, и регулярное выражение,
будет выбран первый подходящий вариант в следующем порядке приоритета:
Поиск производится в следующем порядке приоритета
и прекращается на первом подходящем варианте:
<list type="enum">

<listitem>
Expand Down
7 changes: 3 additions & 4 deletions xml/ru/docs/http/ngx_http_map_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Модуль ngx_http_map_module"
link="/ru/docs/http/ngx_http_map_module.html"
lang="ru"
rev="5">
rev="6">

<section id="summary">

Expand Down Expand Up @@ -155,9 +155,8 @@ example.com 1;
</para>

<para>
Если исходному значению соответствует несколько из указанных вариантов,
например, одновременно подходят и маска, и регулярное выражение,
будет выбран первый подходящий вариант в следующем порядке приоритета:
Поиск производится в следующем порядке приоритета
и прекращается на первом подходящем варианте:
<list type="enum">

<listitem>
Expand Down
15 changes: 7 additions & 8 deletions xml/ru/docs/http/server_names.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<article name="Имена сервера"
link="/ru/docs/http/server_names.html"
lang="ru"
rev="4"
rev="5"
author="Игорь Сысоев"
editor="Brian Mercer">

Expand Down Expand Up @@ -52,23 +52,22 @@ server {
</para>

<para>
При поиске виртуального сервера по имени,
если имени соответствует несколько из указанных вариантов,
например, одновременно подходят и имя с маской, и регулярное выражение,
будет выбран первый подходящий вариант в следующем порядке приоритета:
Поиск производится в следующем порядке приоритета
и прекращается на первом подходящем варианте:
<list type="enum">

<listitem>
точное имя
</listitem>

<listitem>
самое длинное имя с маской в начале, например
“<literal>*.example.org</literal>”
самое длинное имя с маской в начале,
например “<literal>*.example.org</literal>”
</listitem>

<listitem>
самое длинное имя с маской в конце, например “<literal>mail.*</literal>”
самое длинное имя с маской в конце,
например “<literal>mail.*</literal>”
</listitem>

<listitem>
Expand Down
8 changes: 3 additions & 5 deletions xml/ru/docs/stream/ngx_stream_core_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<module name="Модуль ngx_stream_core_module"
link="/ru/docs/stream/ngx_stream_core_module.html"
lang="ru"
rev="44">
rev="45">

<section id="summary">

Expand Down Expand Up @@ -595,10 +595,8 @@ server {
</para>

<para>
При поиске виртуального сервера по имени,
если имени соответствует несколько из указанных вариантов,
например, одновременно подходят и имя с маской, и регулярное выражение,
будет выбран первый подходящий вариант в следующем порядке приоритета:
Поиск производится в следующем порядке приоритета
и прекращается на первом подходящем варианте:
<list type="enum">

<listitem>
Expand Down
7 changes: 3 additions & 4 deletions xml/ru/docs/stream/ngx_stream_map_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Модуль ngx_stream_map_module"
link="/ru/docs/stream/ngx_stream_map_module.html"
lang="ru"
rev="2">
rev="3">

<section id="summary">

Expand Down Expand Up @@ -141,9 +141,8 @@ example.com 1;
</para>

<para>
Если исходному значению соответствует несколько из указанных вариантов,
например, одновременно подходят и маска, и регулярное выражение,
будет выбран первый подходящий вариант в следующем порядке приоритета:
Поиск производится в следующем порядке приоритета
и прекращается на первом подходящем варианте:
<list type="enum">

<listitem>
Expand Down