annotate xml/ru/docs/http/ngx_http_mirror_module.xml @ 2021:03538fa2acfe

Corrected typo in the mirror module.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 09 Aug 2017 15:52:41 +0300
parents e6de97d14f81
children 632f7f467e12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2016
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
1 <?xml version="1.0"?>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
2
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
3 <!--
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
4 Copyright (C) Nginx, Inc.
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
5 -->
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
6
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
8
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
9 <module name="Модуль ngx_http_mirror_module"
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
10 link="/ru/docs/http/ngx_http_mirror_module.html"
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
11 lang="ru"
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
12 rev="1">
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
13
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
14 <section id="summary">
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
15
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
16 <para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
17 Модуль <literal>ngx_http_mirror_module</literal> (1.13.4) позволяет
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
18 зеркалировать исходный запрос
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
19 при помощи создания фоновых зеркалирующих подзапросов.
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
20 Результат зеркалирующих подзапросов игнорируется.
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
21 </para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
22
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
23 </section>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
24
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
25
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
26 <section id="example" name="Пример конфигурации">
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
27
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
28 <para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
29 <example>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
30 location / {
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
31 mirror /mirror;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
32 proxy_pass http://backend;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
33 }
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
34
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
35 location /mirror {
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
36 internal;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
37 proxy_pass http://test_backend$request_uri;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
38 }
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
39 </example>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
40 </para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
41
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
42 </section>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
43
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
44
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
45 <section id="directives" name="Директивы">
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
46
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
47 <directive name="mirror">
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
48 <syntax><value>uri</value> | <literal>off</literal></syntax>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
49 <default>off</default>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
50 <context>http</context>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
51 <context>server</context>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
52 <context>location</context>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
53
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
54 <para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
55 Задаёт URI, на который будет зеркалироваться исходный запрос.
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
56 На одном уровне может использоваться несколько зеркал.
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
57 </para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
58
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
59 </directive>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
60
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
61
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
62 <directive name="mirror_request_body">
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
63 <syntax><literal>on</literal> | <literal>off</literal></syntax>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
64 <default>on</default>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
65 <context>http</context>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
66 <context>server</context>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
67 <context>location</context>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
68
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
69 <para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
70 Позволяет зеркалировать исходное тело запроса.
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
71 Если включено, то тело запроса клиента будет прочитано
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
72 перед созданием зеркалирующих подзапросов.
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
73 В этом случае будет отключено
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
74 небуферизованное проксирование тела запроса клиента, задаваемое директивами
2021
03538fa2acfe Corrected typo in the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2016
diff changeset
75 <link doc="ngx_http_proxy_module.xml" id="proxy_request_buffering">proxy_request_buffering</link>,
03538fa2acfe Corrected typo in the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2016
diff changeset
76 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_request_buffering">fastcgi_request_buffering</link>,
03538fa2acfe Corrected typo in the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2016
diff changeset
77 <link doc="ngx_http_scgi_module.xml" id="scgi_request_buffering">scgi_request_buffering</link>
2016
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
78 и
2021
03538fa2acfe Corrected typo in the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2016
diff changeset
79 <link doc="ngx_http_uwsgi_module.xml" id="uwsgi_request_buffering">uwsgi_request_buffering</link>.
2016
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
80 <example>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
81 location / {
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
82 mirror /mirror;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
83 mirror_request_body off;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
84 proxy_pass http://backend;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
85 }
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
86
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
87 location /mirror {
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
88 internal;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
89 proxy_pass http://log_backend;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
90 proxy_pass_request_body off;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
91 proxy_set_header Content-Length "";
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
92 proxy_set_header X-Original-URI $request_uri;
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
93 }
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
94 </example>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
95 </para>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
96
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
97 </directive>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
98
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
99 </section>
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
100
e6de97d14f81 Documented the mirror module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
101 </module>