Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 1904:d59199b0c022
Documented the "build" parameter of the "server_tokens" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 13 Feb 2017 15:43:57 +0300 |
parents | da00a2526415 |
children | f024ac0ec5c7 |
comparison
equal
deleted
inserted
replaced
1903:da00a2526415 | 1904:d59199b0c022 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_core_module" | 10 <module name="Module ngx_http_core_module" |
11 link="/en/docs/http/ngx_http_core_module.html" | 11 link="/en/docs/http/ngx_http_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="66"> | 13 rev="67"> |
14 | 14 |
15 <section id="directives" name="Directives"> | 15 <section id="directives" name="Directives"> |
16 | 16 |
17 <directive name="absolute_redirect"> | 17 <directive name="absolute_redirect"> |
18 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 18 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
2528 | 2528 |
2529 <directive name="server_tokens"> | 2529 <directive name="server_tokens"> |
2530 <syntax> | 2530 <syntax> |
2531 <literal>on</literal> | | 2531 <literal>on</literal> | |
2532 <literal>off</literal> | | 2532 <literal>off</literal> | |
2533 <literal>build</literal> | | |
2533 <value>string</value></syntax> | 2534 <value>string</value></syntax> |
2534 <default>on</default> | 2535 <default>on</default> |
2535 <context>http</context> | 2536 <context>http</context> |
2536 <context>server</context> | 2537 <context>server</context> |
2537 <context>location</context> | 2538 <context>location</context> |
2538 | 2539 |
2539 <para> | 2540 <para> |
2540 Enables or disables emitting nginx version on error pages and in the | 2541 Enables or disables emitting nginx version on error pages and in the |
2542 <header>Server</header> response header field. | |
2543 </para> | |
2544 | |
2545 <para id="server_tokens_build"> | |
2546 The <literal>build</literal> parameter (1.11.10) | |
2547 enables emitting nginx build name on error pages and in the | |
2541 <header>Server</header> response header field. | 2548 <header>Server</header> response header field. |
2542 </para> | 2549 </para> |
2543 | 2550 |
2544 <para> | 2551 <para> |
2545 Additionally, as part of our | 2552 Additionally, as part of our |