Mercurial > hg > nginx-site
annotate xml/ru/docs/http/ngx_http_geoip_module.xml @ 1130:3c6d351a1eef
HLS: corrected translation in the summary section.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 31 Mar 2014 11:30:54 +0200 |
parents | 9dab69f2b71d |
children | 07402a11fd8d |
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) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
523
diff
changeset
|
5 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
523
diff
changeset
|
6 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
523
diff
changeset
|
7 |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
9 |
346 | 10 <module name="Модуль ngx_http_geoip_module" |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
11 link="/ru/docs/http/ngx_http_geoip_module.html" |
589 | 12 lang="ru" |
840
9dab69f2b71d
Documented nginx 1.2.7 changes.
Ruslan Ermilov <ru@nginx.com>
parents:
833
diff
changeset
|
13 rev="4"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
14 |
110
40eec261c2a6
Added proper support for anonymous sections, notably for the summary.
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
15 <section id="summary"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
16 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
17 <para> |
346 | 18 Модуль <literal>ngx_http_geoip_module</literal> (0.8.6+) создаёт переменные, |
19 значения которых зависят от IP-адреса клиента, используя готовые базы данных | |
20 <link url="http://www.maxmind.com">MaxMind</link>. | |
21 </para> | |
22 | |
23 <para> | |
840
9dab69f2b71d
Documented nginx 1.2.7 changes.
Ruslan Ermilov <ru@nginx.com>
parents:
833
diff
changeset
|
24 При использовании баз данных с поддержкой IPv6 (1.3.12, 1.2.7) |
824 | 25 IPv4-адреса ищутся отображёнными на IPv6. |
26 </para> | |
27 | |
28 <para> | |
346 | 29 По умолчанию этот модуль не собирается, его сборку необходимо |
30 разрешить с помощью конфигурационного параметра | |
31 <literal>--with-http_geoip_module</literal>. | |
32 <note> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
33 Для сборки и работы этого модуля нужна библиотека |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
34 <link url="http://www.maxmind.com/app/c">MaxMind GeoIP</link>. |
346 | 35 </note> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
36 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
37 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
38 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
39 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
40 |
346 | 41 <section id="example" name="Пример конфигурации"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
42 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
43 <para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
44 <example> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
45 http { |
518 | 46 geoip_country GeoIP.dat; |
47 geoip_city GeoLiteCity.dat; | |
48 geoip_proxy 192.168.100.0/24; | |
49 geoip_proxy 2001:0db8::/32; | |
50 geoip_proxy_recursive on; | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
51 ... |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
52 </example> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
53 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
54 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
55 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
56 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
57 |
346 | 58 <section id="directives" name="Директивы"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
59 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
60 <directive name="geoip_country"> |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
61 <syntax><value>файл</value></syntax> |
99
1d315ef37215
The case <default/> is now language-agnostic.
Ruslan Ermilov <ru@nginx.com>
parents:
76
diff
changeset
|
62 <default/> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
63 <context>http</context> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
64 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
65 <para> |
346 | 66 Задаёт базу данных для определения страны в зависимости |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
67 от значения IP-адреса клиента. |
346 | 68 При использовании этой базы данных доступны следующие переменные: |
69 <list type="tag"> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
70 |
346 | 71 <tag-name><var>$geoip_country_code</var></tag-name> |
72 <tag-desc> | |
73 двухбуквенный код страны, например, | |
74 “<literal>RU</literal>”, “<literal>US</literal>”. | |
75 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
76 |
346 | 77 <tag-name><var>$geoip_country_code3</var></tag-name> |
78 <tag-desc> | |
79 трёхбуквенный код страны, например, | |
80 “<literal>RUS</literal>”, “<literal>USA</literal>”. | |
81 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
82 |
346 | 83 <tag-name><var>$geoip_country_name</var></tag-name> |
84 <tag-desc> | |
85 название страны, например, | |
86 “<literal>Russian Federation</literal>”, “<literal>United States</literal>”. | |
87 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
88 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
89 </list> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
90 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
91 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
92 </directive> |
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 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
95 <directive name="geoip_city"> |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
96 <syntax><value>файл</value></syntax> |
99
1d315ef37215
The case <default/> is now language-agnostic.
Ruslan Ermilov <ru@nginx.com>
parents:
76
diff
changeset
|
97 <default/> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
98 <context>http</context> |
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 <para> |
346 | 101 Задаёт базу данных для определения страны, региона и города |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
102 в зависимости от значения IP-адреса клиента. |
346 | 103 При использовании этой базы данных доступны следующие переменные: |
104 <list type="tag"> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
105 |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
106 <tag-name><var>$geoip_area_code</var></tag-name> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
107 <tag-desc>телефонный код области (только для США). |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
108 <note> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
109 Данная переменная может содержать неактуальную информацию, т.к. |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
110 соответствующее поле базы данных объявлено устаревшим. |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
111 </note> |
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 |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
114 <tag-name><var>$geoip_city_continent_code</var></tag-name> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
115 <tag-desc>двухбуквенный код континента, например, |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
116 “<literal>EU</literal>”, “<literal>NA</literal>”. |
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 |
346 | 119 <tag-name><var>$geoip_city_country_code</var></tag-name> |
120 <tag-desc> | |
121 двухбуквенный код страны, например, | |
122 “<literal>RU</literal>”, “<literal>US</literal>”. | |
123 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
124 |
346 | 125 <tag-name><var>$geoip_city_country_code3</var></tag-name> |
126 <tag-desc> | |
127 трёхбуквенный код страны, например, | |
128 “<literal>RUS</literal>”, “<literal>USA</literal>”. | |
129 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
130 |
346 | 131 <tag-name><var>$geoip_city_country_name</var></tag-name> |
132 <tag-desc> | |
133 название страны, например, | |
134 “<literal>Russian Federation</literal>”, “<literal>United States</literal>”. | |
135 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
136 |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
137 <tag-name><var>$geoip_dma_code</var></tag-name> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
138 <tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
139 DMA-код региона в США (также известный как “код агломерации”), согласно |
833
e23004ce65ef
GeoIP: shortened some descriptions and link scope (Russian).
Homutov Vladimir <vl@nginx.com>
parents:
827
diff
changeset
|
140 <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
|
141 Google AdWords API. |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
142 </tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
143 |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
144 <tag-name><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
|
145 <tag-desc>широта.</tag-desc> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
146 |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
147 <tag-name><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
|
148 <tag-desc>долгота.</tag-desc> |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
149 |
346 | 150 <tag-name><var>$geoip_region</var></tag-name> |
151 <tag-desc> | |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
152 двухсимвольный код региона страны (область, край, штат, |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
153 провинция, федеральная земля и тому подобное), например, |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
154 “<literal>48</literal>”, “<literal>DC</literal>”. |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
155 </tag-desc> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
156 |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
157 <tag-name><var>$geoip_region_name</var></tag-name> |
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
158 <tag-desc> |
346 | 159 название региона страны (область, край, штат, |
160 провинция, федеральная земля и тому подобное), например, | |
827
0753cec83ac4
GeoIP: updated description of module variables.
Homutov Vladimir <vl@nginx.com>
parents:
824
diff
changeset
|
161 “<literal>Moscow City</literal>”, “<literal>District of Columbia</literal>”. |
346 | 162 </tag-desc> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
163 |
346 | 164 <tag-name><var>$geoip_city</var></tag-name> |
165 <tag-desc> | |
166 название города, например, | |
167 “<literal>Moscow</literal>”, “<literal>Washington</literal>”. | |
168 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
169 |
346 | 170 <tag-name><var>$geoip_postal_code</var></tag-name> |
171 <tag-desc> | |
172 почтовый индекс. | |
173 </tag-desc> | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
174 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
175 </list> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
176 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
177 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
178 </directive> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
179 |
518 | 180 |
689
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
181 <directive name="geoip_org"> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
182 <syntax><value>файл</value></syntax> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
183 <default/> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
184 <context>http</context> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
185 <appeared-in>1.0.3</appeared-in> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
186 |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
187 <para> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
188 Задаёт базу данных для определения названия организации |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
189 в зависимости от значения IP-адреса клиента. |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
190 При использовании этой базы данных доступна следующая переменная: |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
191 <list type="tag"> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
192 |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
193 <tag-name><var>$geoip_org</var></tag-name> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
194 <tag-desc> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
195 название организации, например, “The University of Melbourne”. |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
196 </tag-desc> |
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 </list> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
199 </para> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
200 |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
201 </directive> |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
202 |
3cc1c7bb0674
Documented geoip_org directive and fixed parameter names
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
203 |
518 | 204 <directive name="geoip_proxy"> |
205 <syntax><value>адрес</value> | <value>CIDR</value></syntax> | |
206 <default/> | |
207 <context>http</context> | |
208 <appeared-in>1.3.0</appeared-in> | |
523 | 209 <appeared-in>1.2.1</appeared-in> |
518 | 210 |
211 <para> | |
212 Задаёт доверенные адреса, при запросе с которых будет использоваться | |
213 адрес в переданном поле заголовка запроса <header>X-Forwarded-For</header>. | |
214 </para> | |
215 | |
216 </directive> | |
217 | |
218 | |
219 <directive name="geoip_proxy_recursive"> | |
220 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
221 <default>off</default> | |
222 <context>http</context> | |
223 <appeared-in>1.3.0</appeared-in> | |
523 | 224 <appeared-in>1.2.1</appeared-in> |
518 | 225 |
226 <para> | |
227 При выключенном рекурсивном поиске вместо исходного адреса клиента, | |
228 совпадающего с одним из доверенных адресов, будет использоваться последний | |
229 адрес, переданный в <header>X-Forwarded-For</header>. | |
230 При включённом рекурсивном поиске вместо исходного адреса клиента, | |
231 совпадающего с одним из доверенных адресов, будет использоваться последний | |
232 не доверенный адрес, переданный в <header>X-Forwarded-For</header>. | |
233 </para> | |
234 | |
235 </directive> | |
236 | |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
237 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
238 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
239 </module> |