changeset 426:1d6dc85ed324

Specifying "ignore_invalid_headers" or "underscores_in_headers" on the server level in a default server affects all virtual servers listening on the same address:port.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 27 Feb 2012 10:36:08 +0000
parents c0fef00f71fb
children d4464d7bff6c
files xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml
diffstat 2 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Fri Feb 24 16:22:08 2012 +0000
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Mon Feb 27 10:36:08 2012 +0000
@@ -638,6 +638,13 @@
 directive).
 </para>
 
+<para>
+A directive can be specified on the <link id="server"/> level
+in a default server.
+In this case, its value will cover all virtual servers
+listening on the same address and port.
+</para>
+
 </directive>
 
 
@@ -2467,6 +2474,13 @@
 directive.
 </para>
 
+<para>
+If a directive is specified on the
+<link id="server"/>
+level, which is also a default server, its value will cover
+all virtual servers listening on the same address and port.
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_core_module.xml	Fri Feb 24 16:22:08 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_core_module.xml	Mon Feb 27 10:36:08 2012 +0000
@@ -625,6 +625,13 @@
 <link id="underscores_in_headers"/>).
 </para>
 
+<para>
+Директива может быть указана на уровне <link id="server"/>
+в сервере по умолчанию.
+В этом случае её значение распространяется на все виртуальные серверы,
+слушающие на том же адресе и порту.
+</para>
+
 </directive>
 
 
@@ -2453,6 +2460,13 @@
 <link id="ignore_invalid_headers"/>.
 </para>
 
+<para>
+Директива может быть указана на уровне <link id="server"/>
+в сервере по умолчанию.
+В этом случае её значение распространяется на все виртуальные серверы,
+слушающие на том же адресе и порту.
+</para>
+
 </directive>