Mercurial > hg > nginx-site
annotate xml/ru/docs/stream/ngx_stream_geoip_module.xml @ 1952:3be7279397c8
Documented the "build" parameter of the "configure" command.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 30 Mar 2017 21:28:05 +0300 |
parents | 0e591e97737c |
children | 8e2a95422dc4 |
rev | line source |
---|---|
222
bfe3eff81d04
Removed redundant encoding specification.
Ruslan Ermilov <ru@nginx.com>
parents:
110
diff
changeset
|
1 <?xml version="1.0"?> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
2 |
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
523
diff
changeset
|
3 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
523
diff
changeset
|
4 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
523
diff
changeset
|
5 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
523
diff
changeset
|
6 |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
8 |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
9 <module name="Модуль ngx_stream_geoip_module" |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
10 link="/ru/docs/http/ngx_stream_geoip_module.html" |
589 | 11 lang="ru" |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
12 rev="1"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
13 |
110
40eec261c2a6
Added proper support for anonymous sections, notably for the summary.
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
14 <section id="summary"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
15 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
16 <para> |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
17 Модуль <literal>ngx_stream_geoip_module</literal> (1.11.3) создаёт переменные, |
346 | 18 значения которых зависят от IP-адреса клиента, используя готовые базы данных |
19 <link url="http://www.maxmind.com">MaxMind</link>. | |
20 </para> | |
21 | |
22 <para> | |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
23 При использовании баз данных с поддержкой IPv6 |
824 | 24 IPv4-адреса ищутся отображёнными на IPv6. |
25 </para> | |
26 | |
27 <para> | |
346 | 28 По умолчанию этот модуль не собирается, его сборку необходимо |
29 разрешить с помощью конфигурационного параметра | |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
30 <literal>--with-stream_geoip_module</literal>. |
346 | 31 <note> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
32 Для сборки и работы этого модуля нужна библиотека |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
33 <link url="http://www.maxmind.com/app/c">MaxMind GeoIP</link>. |
346 | 34 </note> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
35 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
36 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
37 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
38 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
39 |
346 | 40 <section id="example" name="Пример конфигурации"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
41 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
42 <para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
43 <example> |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
44 stream { |
518 | 45 geoip_country GeoIP.dat; |
46 geoip_city GeoLiteCity.dat; | |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
47 |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
48 map $geoip_city_continent_code $nearest_server { |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
49 default example.com; |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
50 EU eu.example.com; |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
51 NA na.example.com; |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
52 AS as.example.com; |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
53 } |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
54 ... |
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
55 } |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
56 </example> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
57 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
58 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
59 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
60 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
61 |
346 | 62 <section id="directives" name="Директивы"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
63 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
64 <directive name="geoip_country"> |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
65 <syntax><value>файл</value></syntax> |
99
1d315ef37215
The case <default/> is now language-agnostic.
Ruslan Ermilov <ru@nginx.com>
parents:
76
diff
changeset
|
66 <default/> |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
67 <context>stream</context> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
68 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
69 <para> |
346 | 70 Задаёт базу данных для определения страны в зависимости |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
71 от значения IP-адреса клиента. |
346 | 72 При использовании этой базы данных доступны следующие переменные: |
73 <list type="tag"> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
74 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
75 <tag-name id="var_geoip_country_code"><var>$geoip_country_code</var></tag-name> |
346 | 76 <tag-desc> |
77 двухбуквенный код страны, например, | |
78 “<literal>RU</literal>”, “<literal>US</literal>”. | |
79 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
80 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
81 <tag-name id="var_geoip_country_code3"><var>$geoip_country_code3</var> |
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
82 </tag-name> |
346 | 83 <tag-desc> |
84 трёхбуквенный код страны, например, | |
85 “<literal>RUS</literal>”, “<literal>USA</literal>”. | |
86 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
87 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
88 <tag-name id="var_geoip_country_name"><var>$geoip_country_name</var></tag-name> |
346 | 89 <tag-desc> |
90 название страны, например, | |
91 “<literal>Russian Federation</literal>”, “<literal>United States</literal>”. | |
92 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
93 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
94 </list> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
95 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
96 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
97 </directive> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
98 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
99 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
100 <directive name="geoip_city"> |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
101 <syntax><value>файл</value></syntax> |
99
1d315ef37215
The case <default/> is now language-agnostic.
Ruslan Ermilov <ru@nginx.com>
parents:
76
diff
changeset
|
102 <default/> |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
103 <context>stream</context> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
104 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
105 <para> |
346 | 106 Задаёт базу данных для определения страны, региона и города |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
107 в зависимости от значения IP-адреса клиента. |
346 | 108 При использовании этой базы данных доступны следующие переменные: |
109 <list type="tag"> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
110 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
111 <tag-name id="var_geoip_area_code"><var>$geoip_area_code</var></tag-name> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
112 <tag-desc>телефонный код области (только для США). |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
113 <note> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
114 Данная переменная может содержать неактуальную информацию, т.к. |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
115 соответствующее поле базы данных объявлено устаревшим. |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
116 </note> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
117 </tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
118 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
119 <tag-name id="var_geoip_city_continent_code"> |
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
120 <var>$geoip_city_continent_code</var> |
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
121 </tag-name> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
122 <tag-desc>двухбуквенный код континента, например, |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
123 “<literal>EU</literal>”, “<literal>NA</literal>”. |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
124 </tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
125 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
126 <tag-name id="var_geoip_city_country_code"><var>$geoip_city_country_code</var> |
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
127 </tag-name> |
346 | 128 <tag-desc> |
129 двухбуквенный код страны, например, | |
130 “<literal>RU</literal>”, “<literal>US</literal>”. | |
131 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
132 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
133 <tag-name id="var_geoip_city_country_code3"><var>$geoip_city_country_code3</var> |
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
134 </tag-name> |
346 | 135 <tag-desc> |
136 трёхбуквенный код страны, например, | |
137 “<literal>RUS</literal>”, “<literal>USA</literal>”. | |
138 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
139 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
140 <tag-name id="var_geoip_city_country_name"><var>$geoip_city_country_name</var> |
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
141 </tag-name> |
346 | 142 <tag-desc> |
143 название страны, например, | |
144 “<literal>Russian Federation</literal>”, “<literal>United States</literal>”. | |
145 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
146 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
147 <tag-name id="var_geoip_dma_code"><var>$geoip_dma_code</var></tag-name> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
148 <tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
149 DMA-код региона в США (также известный как “код агломерации”), согласно |
833
e23004ce65ef
GeoIP: shortened some descriptions and link scope (Russian).
Homutov Vladimir <vl@nginx.com>
parents:
827
diff
changeset
|
150 <link url="https://developers.google.com/adwords/api/docs/appendix/cities-DMAregions">геотаргетингу</link> |
e23004ce65ef
GeoIP: shortened some descriptions and link scope (Russian).
Homutov Vladimir <vl@nginx.com>
parents:
827
diff
changeset
|
151 Google AdWords API. |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
152 </tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
153 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
154 <tag-name id="var_geoip_latitude"><var>$geoip_latitude</var></tag-name> |
833
e23004ce65ef
GeoIP: shortened some descriptions and link scope (Russian).
Homutov Vladimir <vl@nginx.com>
parents:
827
diff
changeset
|
155 <tag-desc>широта.</tag-desc> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
156 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
157 <tag-name id="var_geoip_longitude"><var>$geoip_longitude</var></tag-name> |
833
e23004ce65ef
GeoIP: shortened some descriptions and link scope (Russian).
Homutov Vladimir <vl@nginx.com>
parents:
827
diff
changeset
|
158 <tag-desc>долгота.</tag-desc> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
159 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
160 <tag-name id="var_geoip_region"><var>$geoip_region</var></tag-name> |
346 | 161 <tag-desc> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
162 двухсимвольный код региона страны (область, край, штат, |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
163 провинция, федеральная земля и тому подобное), например, |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
164 “<literal>48</literal>”, “<literal>DC</literal>”. |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
165 </tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
166 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
167 <tag-name id="var_geoip_region_name"><var>$geoip_region_name</var></tag-name> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
168 <tag-desc> |
346 | 169 название региона страны (область, край, штат, |
170 провинция, федеральная земля и тому подобное), например, | |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
171 “<literal>Moscow City</literal>”, “<literal>District of Columbia</literal>”. |
346 | 172 </tag-desc> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
173 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
174 <tag-name id="var_geoip_city"><var>$geoip_city</var></tag-name> |
346 | 175 <tag-desc> |
176 название города, например, | |
177 “<literal>Moscow</literal>”, “<literal>Washington</literal>”. | |
178 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
179 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
180 <tag-name id="var_geoip_postal_code"><var>$geoip_postal_code</var></tag-name> |
346 | 181 <tag-desc> |
182 почтовый индекс. | |
183 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
184 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
185 </list> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
186 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
187 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
188 </directive> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
189 |
518 | 190 |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
191 <directive name="geoip_org"> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
192 <syntax><value>файл</value></syntax> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
193 <default/> |
1750
0e591e97737c
Documented the geoip module in stream.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1155
diff
changeset
|
194 <context>stream</context> |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
195 |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
196 <para> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
197 Задаёт базу данных для определения названия организации |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
198 в зависимости от значения IP-адреса клиента. |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
199 При использовании этой базы данных доступна следующая переменная: |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
200 <list type="tag"> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
201 |
1155
07402a11fd8d
Assigned IDs to tags describing variables.
Vladimir Homutov <vl@nginx.com>
parents:
840
diff
changeset
|
202 <tag-name id="var_geoip_org"><var>$geoip_org</var></tag-name> |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
203 <tag-desc> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
204 название организации, например, “The University of Melbourne”. |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
205 </tag-desc> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
206 |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
207 </list> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
208 </para> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
209 |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
210 </directive> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
211 |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
212 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
213 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
214 </module> |