# HG changeset patch # User Yaroslav Zhuravlev # Date 1398434513 -14400 # Node ID b8f0362f61e5624adf96c229ceb95364d3cfda61 # Parent 9d3beb5890eb0cc568a1cf3ba128f080cd49d588 Added links to scgi. diff --git a/xml/en/docs/http/load_balancing.xml b/xml/en/docs/http/load_balancing.xml --- a/xml/en/docs/http/load_balancing.xml +++ b/xml/en/docs/http/load_balancing.xml @@ -9,7 +9,7 @@
+ rev="2">
@@ -104,9 +104,10 @@ as the protocol. -When setting up load balancing for FastCGI, uwsgi or memcached, use +When setting up load balancing for FastCGI, uwsgi, SCGI, or memcached, use , -uwsgi_pass and +uwsgi_pass, +, and directives respectively. diff --git a/xml/en/docs/http/ngx_http_charset_module.xml b/xml/en/docs/http/ngx_http_charset_module.xml --- a/xml/en/docs/http/ngx_http_charset_module.xml +++ b/xml/en/docs/http/ngx_http_charset_module.xml @@ -10,7 +10,7 @@ + rev="3">
@@ -99,9 +99,10 @@ charset_map iso-8859-5 _ { } In addition, a charset can be set in the
X-Accel-Charset
response header field. This capability can be disabled using the - +, +, and - + directives. @@ -195,7 +196,7 @@ as the default MIME type instead of “application/javascript”. Determines whether a conversion should be performed for answers -received from a proxied or FastCGI server +received from a proxied or a FastCGI/SCGI 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 --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="33">
@@ -592,7 +592,7 @@ error_page 404 =200 /empty.gif; -If an error response is processed by a proxied server or a FastCGI server, +If an error response is processed by a proxied server or a FastCGI/SCGI 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: @@ -978,9 +978,10 @@ server { Rate limit can also be set in the
X-Accel-Limit-Rate
header field of a proxied server response. This capability can be disabled using the - +, +, and - + directives.
@@ -2953,9 +2954,10 @@ request body The variable’s value is made available in locations processed by the - +, +, and - + directives. @@ -2968,13 +2970,14 @@ At the end of processing, the file needs To always write the request body to a file, needs to be enabled. When the name of a temporary file is passed in a proxied request -or in a request to a FastCGI server, +or in a request to a FastCGI/SCGI server, passing the request body should be disabled by the -proxy_pass_request_body off -and +proxy_pass_request_body off, -fastcgi_pass_request_body off +fastcgi_pass_request_body off, or + +scgi_pass_request_body off directives, respectively. diff --git a/xml/en/docs/http/ngx_http_ssi_module.xml b/xml/en/docs/http/ngx_http_ssi_module.xml --- a/xml/en/docs/http/ngx_http_ssi_module.xml +++ b/xml/en/docs/http/ngx_http_ssi_module.xml @@ -10,7 +10,7 @@ + rev="6">
@@ -332,7 +332,7 @@ specifies an included request, for examp <!--# include virtual="/remote/body.php?argument=value" --> Several requests specified on one page and processed by proxied or -FastCGI servers run in parallel. +FastCGI/SCGI servers run in parallel. If sequential processing is desired, the wait parameter should be used. diff --git a/xml/en/docs/http/ngx_http_upstream_module.xml b/xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="21">
@@ -18,7 +18,8 @@ The ngx_http_upstream_module module is used to define groups of servers that can be referenced by the , -, and +, +, and directives. @@ -158,7 +159,8 @@ By default, the number of unsuccessful a The zero value disables the accounting of attempts. What is considered an unsuccessful attempt is defined by the , -, and +, +, and directives. diff --git a/xml/en/index.xml b/xml/en/index.xml --- a/xml/en/index.xml +++ b/xml/en/index.xml @@ -8,7 +8,7 @@
+ rev="21">
@@ -65,7 +65,8 @@ load balancing and fault tolerance Accelerated support with caching of FastCGI, -uwsgi, SCGI, and +uwsgi, +SCGI, and memcached servers; simple @@ -82,7 +83,7 @@ byte ranges, chunked responses, and image transformation filter. Multiple SSI inclusions within a single page can be processed in -parallel if they are handled by proxied or FastCGI servers; +parallel if they are handled by proxied or FastCGI/SCGI servers; diff --git a/xml/index.xml b/xml/index.xml --- a/xml/index.xml +++ b/xml/index.xml @@ -938,7 +938,8 @@ SSL CRL, -SCGI and uwsgi modules. +SCGI +and uwsgi modules. diff --git a/xml/ru/docs/http/ngx_http_charset_module.xml b/xml/ru/docs/http/ngx_http_charset_module.xml --- a/xml/ru/docs/http/ngx_http_charset_module.xml +++ b/xml/ru/docs/http/ngx_http_charset_module.xml @@ -10,7 +10,7 @@ + rev="3">
@@ -99,9 +99,10 @@ charset_map iso-8859-5 _ { } Кроме того, кодировка может быть задана в поле
X-Accel-Charset
заголовка ответа. Эту возможность можно запретить с помощью директив - +, + и -. +. @@ -196,7 +197,7 @@ application/javascript application/rss+x Определяет, выполнять ли перекодирование для ответов, -полученных от проксированного сервера или от FastCGI-сервера, +полученных от проксированного сервера или от FastCGI/SCGI-сервера, если в ответах уже указана кодировка в поле
Content-Type
заголовка ответа. Если перекодирование разрешено, то в качестве исходной кодировки 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="33">
@@ -589,7 +589,7 @@ error_page 404 =200 /empty.gif; Если ошибочный ответ обрабатывается проксированным сервером или -FastCGI-сервером, и этот сервер может вернуть разные коды ответов, +FastCGI/SCGI-сервером, и этот сервер может вернуть разные коды ответов, например, 200, 302, 401 или 404, то можно выдавать возвращаемый им код: error_page 404 = /404.php; @@ -973,9 +973,10 @@ server { Кроме того, ограничение скорости может быть задано в поле
X-Accel-Limit-Rate
заголовка ответа проксированного сервера. Эту возможность можно запретить с помощью директив - +, + и -. +.
@@ -2950,9 +2951,10 @@ cookie имя Значение переменной появляется в location’ах, обрабатываемых директивами - +, + и -. +. @@ -2964,13 +2966,15 @@ cookie имя Для того чтобы тело запроса всегда записывалось в файл, следует включить . При передаче имени временного файла в проксированном запросе -или в запросе к FastCGI-серверу следует запретить передачу самого +или в запросе к FastCGI/SCGI-серверу следует запретить передачу самого тела директивами -proxy_pass_request_body off -или +proxy_pass_request_body off, fastcgi_pass_request_body off +или + +scgi_pass_request_body off соответственно. diff --git a/xml/ru/docs/http/ngx_http_ssi_module.xml b/xml/ru/docs/http/ngx_http_ssi_module.xml --- a/xml/ru/docs/http/ngx_http_ssi_module.xml +++ b/xml/ru/docs/http/ngx_http_ssi_module.xml @@ -10,7 +10,7 @@ + rev="6">
@@ -335,7 +335,7 @@ location / { <!--# include virtual="/remote/body.php?argument=value" --> Несколько запросов, указанных на одной странице и обрабатываемых -проксируемыми или FastCGI-серверами, работают параллельно. +проксируемыми или FastCGI/SCGI-серверами, работают параллельно. Если нужна последовательная обработка, следует воспользоваться параметром wait. diff --git a/xml/ru/docs/http/ngx_http_upstream_module.xml b/xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -19,7 +19,8 @@ позволяет описывать группы серверов, которые могут использоваться в директивах , - и +, + и . @@ -129,7 +130,8 @@ 5 запросов на backend1.example.com Нулевое значение отключает учёт попыток. Что считается неудачной попыткой, определяется директивами , - и +, + и . diff --git a/xml/ru/index.xml b/xml/ru/index.xml --- a/xml/ru/index.xml +++ b/xml/ru/index.xml @@ -8,7 +8,7 @@
+ rev="21">
@@ -66,7 +66,8 @@ nginx [engine x]—это HTTP-сервер и обратный прокси-сервер, Акселерированная поддержка FastCGI, -uwsgi, SCGI и +uwsgi, +SCGI и memcached серверов с кэшированием, простое @@ -83,7 +84,7 @@ chunked ответы, преобразование изображений; несколько подзапросов на одной странице, обрабатываемые в SSI-фильтре -через прокси или FastCGI, выполняются параллельно; +через прокси или FastCGI/SCGI, выполняются параллельно;