Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_memcached_module.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 | 40eec261c2a6 |
comparison
equal
deleted
inserted
replaced
101:b8fd014ec712 | 102:c76a257f3fd4 |
---|---|
40 | 40 |
41 | 41 |
42 <section name="Директивы" id="directives"> | 42 <section name="Директивы" id="directives"> |
43 | 43 |
44 <directive name="memcached_buffer_size"> | 44 <directive name="memcached_buffer_size"> |
45 <syntax>memcached_buffer_size <value>размер</value></syntax> | 45 <syntax><value>размер</value></syntax> |
46 <default>memcached_buffer_size 4k/8k</default> | 46 <default>4k/8k</default> |
47 <context>http, server, location</context> | 47 <context>http, server, location</context> |
48 | 48 |
49 <para> | 49 <para> |
50 Директива задаёт размер буфера, в который будет читаться ответ, | 50 Директива задаёт размер буфера, в который будет читаться ответ, |
51 получаемый от cервера memcached. | 51 получаемый от cервера memcached. |
54 | 54 |
55 </directive> | 55 </directive> |
56 | 56 |
57 | 57 |
58 <directive name="memcached_connect_timeout"> | 58 <directive name="memcached_connect_timeout"> |
59 <syntax>memcached_connect_timeout <value>время</value></syntax> | 59 <syntax><value>время</value></syntax> |
60 <default>memcached_connect_timeout 60</default> | 60 <default>60</default> |
61 <context>http, server, location</context> | 61 <context>http, server, location</context> |
62 | 62 |
63 <para> | 63 <para> |
64 Директива задаёт таймаут для соединения с cервером memcached. | 64 Директива задаёт таймаут для соединения с cервером memcached. |
65 Необходимо иметь в виду, что этот таймаут не может быть больше 75 секунд. | 65 Необходимо иметь в виду, что этот таймаут не может быть больше 75 секунд. |
67 | 67 |
68 </directive> | 68 </directive> |
69 | 69 |
70 | 70 |
71 <directive name="memcached_next_upstream"> | 71 <directive name="memcached_next_upstream"> |
72 <syntax>memcached_next_upstream | 72 <syntax><value>[error|timeout|invalid_response|not_found|off]</value></syntax> |
73 <value>[error|timeout|invalid_response|not_found|off]</value> | 73 <default>error timeout</default> |
74 </syntax> | |
75 <default>memcached_next_upstream error timeout</default> | |
76 <context>http, server, location</context> | 74 <context>http, server, location</context> |
77 | 75 |
78 <para> | 76 <para> |
79 Директива определяет, в каких случаях запрос будет передан следующему | 77 Директива определяет, в каких случаях запрос будет передан следующему |
80 серверу memcached: | 78 серверу memcached: |
114 | 112 |
115 </directive> | 113 </directive> |
116 | 114 |
117 | 115 |
118 <directive name="memcached_pass"> | 116 <directive name="memcached_pass"> |
119 <syntax>memcached_pass <value>URL</value></syntax> | 117 <syntax><value>URL</value></syntax> |
120 <default/> | 118 <default/> |
121 <context>location, if в location, limit_except</context> | 119 <context>location, if в location, limit_except</context> |
122 | 120 |
123 <para> | 121 <para> |
124 Директива задаёт адрес сервера memcached. | 122 Директива задаёт адрес сервера memcached. |
137 | 135 |
138 </directive> | 136 </directive> |
139 | 137 |
140 | 138 |
141 <directive name="memcached_read_timeout"> | 139 <directive name="memcached_read_timeout"> |
142 <syntax>memcached_read_timeout <value>время</value></syntax> | 140 <syntax><value>время</value></syntax> |
143 <default>memcached_read_timeout 60</default> | 141 <default>60</default> |
144 <context>http, server, location</context> | 142 <context>http, server, location</context> |
145 | 143 |
146 <para> | 144 <para> |
147 Директива задаёт таймаут при чтении ответа сервера memcached. | 145 Директива задаёт таймаут при чтении ответа сервера memcached. |
148 Таймаут устанавливается не на всю передачу ответа, | 146 Таймаут устанавливается не на всю передачу ответа, |
153 | 151 |
154 </directive> | 152 </directive> |
155 | 153 |
156 | 154 |
157 <directive name="memcached_send_timeout"> | 155 <directive name="memcached_send_timeout"> |
158 <syntax>memcached_send_timeout <value>время</value></syntax> | 156 <syntax><value>время</value></syntax> |
159 <default>memcached_send_timeout 60</default> | 157 <default>60</default> |
160 <context>http, server, location</context> | 158 <context>http, server, location</context> |
161 | 159 |
162 <para> | 160 <para> |
163 Директива задаёт таймаут при передаче запроса серверу memcached. | 161 Директива задаёт таймаут при передаче запроса серверу memcached. |
164 Таймаут устанавливается не на всю передачу запроса, | 162 Таймаут устанавливается не на всю передачу запроса, |