# HG changeset patch # User Yaroslav Zhuravlev # Date 1522933181 -10800 # Node ID 4cafd82e50079fd1156bb5b8254df17826d97aad # Parent bb3d2ce5192ebe24bdfaaa2f332adab3802a01f1 Added info about gRPC to various modules. diff -r bb3d2ce5192e -r 4cafd82e5007 xml/en/docs/http/load_balancing.xml --- a/xml/en/docs/http/load_balancing.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/en/docs/http/load_balancing.xml Thu Apr 05 15:59:41 2018 +0300 @@ -9,7 +9,7 @@
+ rev="5">
@@ -95,7 +95,7 @@ Reverse proxy implementation in nginx includes load balancing for HTTP, -HTTPS, FastCGI, uwsgi, SCGI, and memcached. +HTTPS, FastCGI, uwsgi, SCGI, memcached, and gRPC. @@ -104,11 +104,12 @@ -When setting up load balancing for FastCGI, uwsgi, SCGI, or memcached, use +When setting up load balancing for FastCGI, uwsgi, SCGI, memcached, or gRPC, use , , -, and - +, +, and + directives respectively. diff -r bb3d2ce5192e -r 4cafd82e5007 xml/en/docs/http/ngx_http_charset_module.xml --- a/xml/en/docs/http/ngx_http_charset_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/en/docs/http/ngx_http_charset_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="5">
@@ -102,8 +102,9 @@ , , , +, and - + directives. @@ -197,7 +198,7 @@ Determines whether a conversion should be performed for answers -received from a proxied or a FastCGI/uwsgi/SCGI server +received from a proxied or a FastCGI/uwsgi/SCGI/gRPC server when the answers already carry a charset in the
Content-Type
response header field. If conversion is enabled, a charset specified in the received diff -r bb3d2ce5192e -r 4cafd82e5007 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/en/docs/http/ngx_http_core_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -660,7 +660,7 @@ If an error response is processed by a proxied server -or a FastCGI/uwsgi/SCGI server, +or a FastCGI/uwsgi/SCGI/gRPC server, and the server may return different response codes (e.g., 200, 302, 401 or 404), it is possible to respond with the code it returns: @@ -1627,8 +1627,9 @@ , , , -, or -, +, +, or +, then the special processing is performed. In response to a request with URI equal to this string, but without the trailing slash, diff -r bb3d2ce5192e -r 4cafd82e5007 xml/en/docs/http/ngx_http_ssi_module.xml --- a/xml/en/docs/http/ngx_http_ssi_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/en/docs/http/ngx_http_ssi_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="11">
@@ -332,7 +332,7 @@ <!--# include virtual="/remote/body.php?argument=value" --> Several requests specified on one page and processed by proxied or -FastCGI/uwsgi/SCGI servers run in parallel. +FastCGI/uwsgi/SCGI/gRPC servers run in parallel. If sequential processing is desired, the wait parameter should be used. diff -r bb3d2ce5192e -r 4cafd82e5007 xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="69">
@@ -20,8 +20,9 @@ by the , , , -, and - directives. +, +, and + directives.
@@ -188,8 +189,9 @@ , , , -, and - +, +, and + directives. diff -r bb3d2ce5192e -r 4cafd82e5007 xml/ru/docs/http/ngx_http_charset_module.xml --- a/xml/ru/docs/http/ngx_http_charset_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/ru/docs/http/ngx_http_charset_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="5">
@@ -101,9 +101,10 @@ Эту возможность можно запретить с помощью директив , , - +, + и -. +. @@ -198,7 +199,7 @@ Определяет, выполнять ли перекодирование для ответов, -полученных от проксированного сервера или от FastCGI/uwsgi/SCGI-сервера, +полученных от проксированного сервера или от FastCGI/uwsgi/SCGI/gRPC-сервера, если в ответах уже указана кодировка в поле
Content-Type
заголовка ответа. Если перекодирование разрешено, то в качестве исходной кодировки diff -r bb3d2ce5192e -r 4cafd82e5007 xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -657,7 +657,8 @@ Если ошибочный ответ обрабатывается проксированным сервером или -FastCGI/uwsgi/SCGI-сервером, и этот сервер может вернуть разные коды ответов, +FastCGI/uwsgi/SCGI/gRPC-сервером, +и этот сервер может вернуть разные коды ответов, например, 200, 302, 401 или 404, то можно выдавать возвращаемый им код: error_page 404 = /404.php; @@ -1625,8 +1626,9 @@ , , , - или -, +, + или +, происходит специальная обработка. В ответ на запрос с URI равным этой строке, но без завершающего слэша, будет возвращено постоянное перенаправление с кодом 301 diff -r bb3d2ce5192e -r 4cafd82e5007 xml/ru/docs/http/ngx_http_ssi_module.xml --- a/xml/ru/docs/http/ngx_http_ssi_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/ru/docs/http/ngx_http_ssi_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="11">
@@ -335,7 +335,7 @@ <!--# include virtual="/remote/body.php?argument=value" --> Несколько запросов, указанных на одной странице и обрабатываемых -проксируемыми или FastCGI/uwsgi/SCGI-серверами, работают параллельно. +проксируемыми или FastCGI/uwsgi/SCGI/gRPC-серверами, работают параллельно. Если нужна последовательная обработка, следует воспользоваться параметром wait. diff -r bb3d2ce5192e -r 4cafd82e5007 xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml Thu Apr 05 15:49:33 2018 +0300 +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml Thu Apr 05 15:59:41 2018 +0300 @@ -10,7 +10,7 @@ + rev="69">
@@ -21,8 +21,9 @@ , , , - и -. +, + и +.
@@ -192,8 +193,9 @@ , , , - и -. +, + и +.