# HG changeset patch # User Yaroslav Zhuravlev # Date 1442494489 -10800 # Node ID 695999bdd4a5f8c4bd585417274fbd9d535d654c # Parent 0ca33afb461bdd8ae45fb18d91d40ee74128bd72 Updated description of http2 parameter, translated into Russian. diff --git a/xml/en/docs/http/ngx_http_core_module.xml b/xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="47">
@@ -1118,7 +1118,7 @@ The “wait-read-ignore” cycle is repeated, but no longer than specified by the address[:port] [default_server] [ssl] - [spdy | http2] + [http2 | spdy] [proxy_protocol] [setfib=number] [fastopen=number] @@ -1135,7 +1135,7 @@ The “wait-read-ignore” cycle is repeated, but no longer than specified by the port [default_server] [ssl] - [spdy | http2] + [http2 | spdy] [proxy_protocol] [setfib=number] [fastopen=number] @@ -1152,7 +1152,7 @@ The “wait-read-ignore” cycle is repeated, but no longer than specified by the unix:path [default_server] [ssl] - [spdy | http2] + [http2 | spdy] [proxy_protocol] [backlog=number] [rcvbuf=size] @@ -1223,7 +1223,21 @@ handles both HTTP and HTTPS requests. -The spdy parameter (1.3.15) allows accepting +The http2 parameter (1.9.5) configures the port to accept +HTTP/2 connections. +Normally, for this to work the ssl parameter should be +specified as well, but nginx can also be configured to accept HTTP/2 +connections without SSL. + +The http2 parameter is also available in the +nginx-plus-http2 package (NGINX Plus release 7). +Since HTTP/2 supersedes SPDY, the nginx-plus-http2 +package does not support the spdy parameter. + + + + +The spdy parameter (1.3.15-1.9.4) allows accepting SPDY connections on this port. Normally, for this to work the ssl parameter should be specified as well, but nginx can also be configured to accept SPDY @@ -1231,20 +1245,6 @@ connections without SSL. -The http2 parameter configures the port to accept -HTTP/2 connections. -Normally, for this to work the ssl parameter should be -specified as well, but nginx can also be configured to accept HTTP/2 -connections without SSL. - -The http2 parameter is only available in the -nginx-plus-http2 package (NGINX Plus release 7). -Since HTTP/2 supersedes SPDY, the nginx-plus-http2 -package does not support the spdy parameter. - - - - The proxy_protocol parameter (1.5.12) allows specifying that all connections accepted on this port should use the PROXY diff --git a/xml/ru/docs/http/ngx_http_core_module.xml b/xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="47">
@@ -1113,7 +1113,7 @@ location /flv/ { адрес[:порт] [default_server] [ssl] - [spdy] + [http2 | spdy] [proxy_protocol] [setfib=число] [fastopen=число] @@ -1130,7 +1130,7 @@ location /flv/ { порт [default_server] [ssl] - [spdy] + [http2 | spdy] [proxy_protocol] [setfib=число] [fastopen=число] @@ -1147,7 +1147,7 @@ location /flv/ { unix:путь [default_server] [ssl] - [spdy] + [http2 | spdy] [proxy_protocol] [backlog=число] [rcvbuf=размер] @@ -1216,7 +1216,21 @@ id="single_http_https_server">конфигурацию для сервера, -Параметр spdy (1.3.15) позволяет принимать на этом порту +Параметр http2 (1.9.5) позволяет принимать на этом порту +HTTP/2-соединения. +Обычно, чтобы это работало, следует также указать параметр +ssl, однако nginx можно также настроить и на приём +HTTP/2-соединений без SSL. + +Параметр http2 также доступен в пакете +nginx-plus-http2 (NGINX Plus release 7). +Так как HTTP/2 заменяет SPDY, пакет nginx-plus-http2 +не поддерживает параметр spdy. + + + + +Параметр spdy (1.3.15-1.9.4) позволяет принимать на этом порту SPDY-соединения. Обычно, чтобы это работало, следует также указать параметр ssl, однако nginx можно также настроить и на приём