comparison xml/ru/docs/http/ngx_http_autoindex_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 4a4caa566120
children 40eec261c2a6
comparison
equal deleted inserted replaced
101:b8fd014ec712 102:c76a257f3fd4
31 31
32 32
33 <section name="Директивы" id="directives"> 33 <section name="Директивы" id="directives">
34 34
35 <directive name="autoindex"> 35 <directive name="autoindex">
36 <syntax>autoindex <value>[on|off]</value></syntax> 36 <syntax><value>[on|off]</value></syntax>
37 <default>autoindex off</default> 37 <default>off</default>
38 <context>http, server, location</context> 38 <context>http, server, location</context>
39 39
40 <para> 40 <para>
41 Директива разрешает или запрещает вывод листинга каталога. 41 Директива разрешает или запрещает вывод листинга каталога.
42 </para> 42 </para>
43 43
44 </directive> 44 </directive>
45 45
46 46
47 <directive name="autoindex_exact_size"> 47 <directive name="autoindex_exact_size">
48 <syntax>autoindex_exact_size <value>[on|off]</value></syntax> 48 <syntax><value>[on|off]</value></syntax>
49 <default>autoindex_exact_size on</default> 49 <default>on</default>
50 <context>http, server, location</context> 50 <context>http, server, location</context>
51 51
52 <para> 52 <para>
53 Директива определяет, как выводить размеры файлов в листинге 53 Директива определяет, как выводить размеры файлов в листинге
54 каталога — точно, или округляя до килобайт, мегабайт и гигабайт. 54 каталога — точно, или округляя до килобайт, мегабайт и гигабайт.
58 58
59 </directive> 59 </directive>
60 60
61 61
62 <directive name="autoindex_localtime"> 62 <directive name="autoindex_localtime">
63 <syntax>autoindex_localtime <value>[on|off]</value></syntax> 63 <syntax><value>[on|off]</value></syntax>
64 <default>autoindex_localtime off</default> 64 <default>off</default>
65 <context>http, server, location</context> 65 <context>http, server, location</context>
66 66
67 <para> 67 <para>
68 Директива определяет, в какой временной зоне выводить время в листинге 68 Директива определяет, в какой временной зоне выводить время в листинге
69 каталога — в локальной или в GMT. 69 каталога — в локальной или в GMT.