comparison xml/ru/docs/http/ngx_http_browser_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
73 73
74 74
75 <section name="Директивы" id="directives"> 75 <section name="Директивы" id="directives">
76 76
77 <directive name="ancient_browser"> 77 <directive name="ancient_browser">
78 <syntax>ancient_browser <value>строка [строка ...]</value></syntax> 78 <syntax><value>строка [строка ...]</value></syntax>
79 <default/> 79 <default/>
80 <context>http, server, location</context> 80 <context>http, server, location</context>
81 81
82 <para> 82 <para>
83 Директива задаёт подстроки, при нахождении которых в строке "User-Agent", 83 Директива задаёт подстроки, при нахождении которых в строке "User-Agent",
88 88
89 </directive> 89 </directive>
90 90
91 91
92 <directive name="ancient_browser_value"> 92 <directive name="ancient_browser_value">
93 <syntax>ancient_browser_value <value>строка</value></syntax> 93 <syntax><value>строка</value></syntax>
94 <default>ancient_browser_value 1</default> 94 <default>1</default>
95 <context>http, server, location</context> 95 <context>http, server, location</context>
96 96
97 <para> 97 <para>
98 Директива задаёт значение для переменных $ancient_browser. 98 Директива задаёт значение для переменных $ancient_browser.
99 </para> 99 </para>
100 100
101 </directive> 101 </directive>
102 102
103 103
104 <directive name="modern_browser"> 104 <directive name="modern_browser">
105 <syntax>modern_browser <value>браузер версия|unlisted</value></syntax> 105 <syntax><value>браузер версия|unlisted</value></syntax>
106 <default/> 106 <default/>
107 <context>http, server, location</context> 107 <context>http, server, location</context>
108 108
109 <para> 109 <para>
110 Директива задаёт версию браузера, начиная с которой он считается современным. 110 Директива задаёт версию браузера, начиная с которой он считается современным.
127 127
128 </directive> 128 </directive>
129 129
130 130
131 <directive name="modern_browser_value"> 131 <directive name="modern_browser_value">
132 <syntax>modern_browser_value <value>строка</value></syntax> 132 <syntax><value>строка</value></syntax>
133 <default>modern_browser_value 1</default> 133 <default>1</default>
134 <context>http, server, location</context> 134 <context>http, server, location</context>
135 135
136 <para> 136 <para>
137 Директива задаёт значение для переменных $modern_browser. 137 Директива задаёт значение для переменных $modern_browser.
138 </para> 138 </para>