comparison xml/ru/docs/http/ngx_http_upstream.xml @ 102:c76a257f3fd4

The directive name is now automatically printed in <default> and <syntax>. Specifying <default> is made non-optional. Visible changes: - "types" and "proxy_set_header" get proper defaults (not yet displayed nicely); - "fastcgi_hide_header", "fastcgi_ignore_headers", "fastcgi_pass_header", "proxy_hide_header", "proxy_ignore_headers", and "proxy_pass_header" now have their (empty) defaults documented; - mentions of "fastcgi_redirect_errors" and "proxy_redirect_errors" which are long unsupported were removed.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 19 Oct 2011 05:15:24 +0000
parents 1d315ef37215
children 56457a474903
comparison
equal deleted inserted replaced
101:b8fd014ec712 102:c76a257f3fd4
43 43
44 44
45 <section name="Директивы" id="directives"> 45 <section name="Директивы" id="directives">
46 46
47 <directive name="ip_hash"> 47 <directive name="ip_hash">
48 <syntax>ip_hash</syntax> 48 <syntax/>
49 <default/> 49 <default/>
50 <context>upstream</context> 50 <context>upstream</context>
51 51
52 <para> 52 <para>
53 Директива задаёт метод распределения запросов по серверам на основе 53 Директива задаёт метод распределения запросов по серверам на основе
82 82
83 </directive> 83 </directive>
84 84
85 85
86 <directive name="server"> 86 <directive name="server">
87 <syntax>server <value>название [параметры]</value></syntax> 87 <syntax><value>название [параметры]</value></syntax>
88 <default/> 88 <default/>
89 <context>upstream</context> 89 <context>upstream</context>
90 90
91 <para> 91 <para>
92 Директива задаёт имя и параметры сервера. 92 Директива задаёт имя и параметры сервера.
157 157
158 </directive> 158 </directive>
159 159
160 160
161 <directive name="upstream"> 161 <directive name="upstream">
162 <syntax>upstream <value>название</value> { ... }</syntax> 162 <syntax><value>название</value> { ... }</syntax>
163 <default/> 163 <default/>
164 <context>http</context> 164 <context>http</context>
165 165
166 <para> 166 <para>
167 Директива описывает группу серверов. 167 Директива описывает группу серверов.