changeset 1181:b8f0362f61e5

Added links to scgi.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 25 Apr 2014 18:01:53 +0400
parents 9d3beb5890eb
children ec1097156f81
files xml/en/docs/http/load_balancing.xml xml/en/docs/http/ngx_http_charset_module.xml xml/en/docs/http/ngx_http_core_module.xml xml/en/docs/http/ngx_http_ssi_module.xml xml/en/docs/http/ngx_http_upstream_module.xml xml/en/index.xml xml/index.xml xml/ru/docs/http/ngx_http_charset_module.xml xml/ru/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_ssi_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml xml/ru/index.xml
diffstat 12 files changed, 63 insertions(+), 46 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/load_balancing.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/en/docs/http/load_balancing.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -9,7 +9,7 @@
 <article name="Using nginx as HTTP load balancer"
          link="/en/docs/http/load_balancing.html"
          lang="en"
-         rev="1">
+         rev="2">
 
 <section name="Introduction">
 
@@ -104,9 +104,10 @@
 </para>
 
 <para>
-When setting up load balancing for FastCGI, uwsgi or memcached, use
+When setting up load balancing for FastCGI, uwsgi, SCGI, or memcached, use
 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>,
-uwsgi_pass and
+uwsgi_pass,
+<link doc="ngx_http_scgi_module.xml" id="scgi_pass"/>, and
 <link doc="ngx_http_memcached_module.xml" id="memcached_pass"/>
 directives respectively.
 </para>
--- a/xml/en/docs/http/ngx_http_charset_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/en/docs/http/ngx_http_charset_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_charset_module"
         link="/en/docs/http/ngx_http_charset_module.html"
         lang="en"
-        rev="2">
+        rev="3">
 
 <section id="summary">
 
@@ -99,9 +99,10 @@
 In addition, a charset can be set in the
 <header>X-Accel-Charset</header> response header field.
 This capability can be disabled using the
-<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>
+<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>,
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>,
 and
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>
+<link doc="ngx_http_scgi_module.xml" id="scgi_ignore_headers"/>
 directives.
 </para>
 
@@ -195,7 +196,7 @@
 
 <para>
 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 <header>Content-Type</header>
 response header field.
 If conversion is enabled, a charset specified in the received
--- a/xml/en/docs/http/ngx_http_core_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="32">
+        rev="33">
 
 <section id="directives" name="Directives">
 
@@ -592,7 +592,7 @@
 </para>
 
 <para>
-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:
 <example>
@@ -978,9 +978,10 @@
 Rate limit can also be set in the
 <header>X-Accel-Limit-Rate</header> header field of a proxied server response.
 This capability can be disabled using the
-<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>
+<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>,
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>,
 and
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>
+<link doc="ngx_http_scgi_module.xml" id="scgi_ignore_headers"/>
 directives.
 </para>
 
@@ -2953,9 +2954,10 @@
 <para>
 The variable’s value is made available in locations
 processed by the
-<link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>
+<link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>,
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>,
 and
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>
+<link doc="ngx_http_scgi_module.xml" id="scgi_pass"/>
 directives.
 </para>
 </tag-desc>
@@ -2968,13 +2970,14 @@
 To always write the request body to a file,
 <link id="client_body_in_file_only"/> 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
 <link doc="ngx_http_proxy_module.xml" id="proxy_pass_request_body">
-proxy_pass_request_body off</link>
-and
+proxy_pass_request_body off</link>,
 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass_request_body">
-fastcgi_pass_request_body off</link>
+fastcgi_pass_request_body off</link>, or
+<link doc="ngx_http_scgi_module.xml" id="scgi_pass_request_body">
+scgi_pass_request_body off</link>
 directives, respectively.
 </para>
 </tag-desc>
--- a/xml/en/docs/http/ngx_http_ssi_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/en/docs/http/ngx_http_ssi_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_ssi_module"
         link="/en/docs/http/ngx_http_ssi_module.html"
         lang="en"
-        rev="5">
+        rev="6">
 
 <section id="summary">
 
@@ -332,7 +332,7 @@
 &lt;!--# include virtual="/remote/body.php?argument=value" --&gt;
 </example>
 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 <literal>wait</literal>
 parameter should be used.
 </tag-desc>
--- a/xml/en/docs/http/ngx_http_upstream_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="20">
+        rev="21">
 
 <section id="summary">
 
@@ -18,7 +18,8 @@
 The <literal>ngx_http_upstream_module</literal> module
 is used to define groups of servers that can be referenced
 by the <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>,
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>, and
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>,
+<link doc="ngx_http_scgi_module.xml" id="scgi_pass"/>, and
 <link doc="ngx_http_memcached_module.xml" id="memcached_pass"/> directives.
 </para>
 
@@ -158,7 +159,8 @@
 The zero value disables the accounting of attempts.
 What is considered an unsuccessful attempt is defined by the
 <link doc="ngx_http_proxy_module.xml" id="proxy_next_upstream"/>,
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/>, and
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/>,
+<link doc="ngx_http_scgi_module.xml" id="scgi_next_upstream"/>, and
 <link doc="ngx_http_memcached_module.xml" id="memcached_next_upstream"/>
 directives.
 </tag-desc>
--- a/xml/en/index.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/en/index.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -8,7 +8,7 @@
 <article name="nginx"
          link="/en/"
          lang="en"
-         rev="20">
+         rev="21">
 
 
 <section>
@@ -65,7 +65,8 @@
 <listitem>
 Accelerated support with caching of
 <link doc="docs/http/ngx_http_fastcgi_module.xml">FastCGI</link>,
-uwsgi, SCGI, and
+uwsgi,
+<link doc="docs/http/ngx_http_scgi_module.xml">SCGI</link>, and
 <link doc="docs/http/ngx_http_memcached_module.xml">memcached</link>
 servers;
 <link doc="docs/http/ngx_http_upstream_module.xml">simple
@@ -82,7 +83,7 @@
 and <link doc="docs/http/ngx_http_image_filter_module.xml">image
 transformation</link> 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;
 </listitem>
 
 <listitem>
--- a/xml/index.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/index.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -938,7 +938,8 @@
 </listitem>
 
 <listitem>
-SCGI and uwsgi modules.
+<link doc="en/docs/http/ngx_http_scgi_module.xml">SCGI</link>
+and uwsgi modules.
 </listitem>
 
 </list>
--- a/xml/ru/docs/http/ngx_http_charset_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_charset_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_charset_module"
         link="/ru/docs/http/ngx_http_charset_module.html"
         lang="ru"
-        rev="2">
+        rev="3">
 
 <section id="summary">
 
@@ -99,9 +99,10 @@
 Кроме того, кодировка может быть задана в поле <header>X-Accel-Charset</header>
 заголовка ответа.
 Эту возможность можно запретить с помощью директив
-<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>
+<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>,
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>
 и
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>.
+<link doc="ngx_http_scgi_module.xml" id="scgi_ignore_headers"/>.
 </para>
 
 </directive>
@@ -196,7 +197,7 @@
 
 <para>
 Определяет, выполнять ли перекодирование для ответов,
-полученных от проксированного сервера или от FastCGI-сервера,
+полученных от проксированного сервера или от FastCGI/SCGI-сервера,
 если в ответах уже указана кодировка в поле <header>Content-Type</header>
 заголовка ответа.
 Если перекодирование разрешено, то в качестве исходной кодировки
--- a/xml/ru/docs/http/ngx_http_core_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_core_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="32">
+        rev="33">
 
 <section id="directives" name="Директивы">
 
@@ -589,7 +589,7 @@
 
 <para>
 Если ошибочный ответ обрабатывается проксированным сервером или
-FastCGI-сервером, и этот сервер может вернуть разные коды ответов,
+FastCGI/SCGI-сервером, и этот сервер может вернуть разные коды ответов,
 например, 200, 302, 401 или 404, то можно выдавать возвращаемый им код:
 <example>
 error_page 404 = /404.php;
@@ -973,9 +973,10 @@
 Кроме того, ограничение скорости может быть задано в поле
 <header>X-Accel-Limit-Rate</header> заголовка ответа проксированного сервера.
 Эту возможность можно запретить с помощью директив
-<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>
+<link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>,
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>
 и
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>.
+<link doc="ngx_http_scgi_module.xml" id="scgi_ignore_headers"/>.
 </para>
 
 </directive>
@@ -2950,9 +2951,10 @@
 <para>
 Значение переменной появляется в location’ах, обрабатываемых
 директивами
-<link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>
+<link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>,
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>
 и
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>.
+<link doc="ngx_http_scgi_module.xml" id="scgi_pass"/>.
 </para>
 </tag-desc>
 
@@ -2964,13 +2966,15 @@
 Для того чтобы тело запроса всегда записывалось в файл,
 следует включить <link id="client_body_in_file_only"/>.
 При передаче имени временного файла в проксированном запросе
-или в запросе к FastCGI-серверу следует запретить передачу самого
+или в запросе к FastCGI/SCGI-серверу следует запретить передачу самого
 тела директивами
 <link doc="ngx_http_proxy_module.xml" id="proxy_pass_request_body">
-proxy_pass_request_body off</link>
-или
+proxy_pass_request_body off</link>,
 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass_request_body">
 fastcgi_pass_request_body off</link>
+или
+<link doc="ngx_http_scgi_module.xml" id="scgi_pass_request_body">
+scgi_pass_request_body off</link>
 соответственно.
 </para>
 </tag-desc>
--- a/xml/ru/docs/http/ngx_http_ssi_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_ssi_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_ssi_module"
         link="/ru/docs/http/ngx_http_ssi_module.html"
         lang="ru"
-        rev="5">
+        rev="6">
 
 <section id="summary">
 
@@ -335,7 +335,7 @@
 &lt;!--# include virtual="/remote/body.php?argument=value" --&gt;
 </example>
 Несколько запросов, указанных на одной странице и обрабатываемых
-проксируемыми или FastCGI-серверами, работают параллельно.
+проксируемыми или FastCGI/SCGI-серверами, работают параллельно.
 Если нужна последовательная обработка, следует воспользоваться параметром
 <literal>wait</literal>.
 </tag-desc>
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_upstream_module.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -19,7 +19,8 @@
 позволяет описывать группы серверов,
 которые могут использоваться в директивах
 <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>,
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/> и
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>,
+<link doc="ngx_http_scgi_module.xml" id="scgi_pass"/> и
 <link doc="ngx_http_memcached_module.xml" id="memcached_pass"/>.
 </para>
 
@@ -129,7 +130,8 @@
 Нулевое значение отключает учёт попыток.
 Что считается неудачной попыткой, определяется директивами
 <link doc="ngx_http_proxy_module.xml" id="proxy_next_upstream"/>,
-<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/> и
+<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/>,
+<link doc="ngx_http_scgi_module.xml" id="scgi_next_upstream"/> и
 <link doc="ngx_http_memcached_module.xml" id="memcached_next_upstream"/>.
 </tag-desc>
 
--- a/xml/ru/index.xml	Fri Apr 25 18:00:14 2014 +0400
+++ b/xml/ru/index.xml	Fri Apr 25 18:01:53 2014 +0400
@@ -8,7 +8,7 @@
 <article name="nginx"
          link="/ru/"
          lang="ru"
-         rev="20">
+         rev="21">
 
 
 <section>
@@ -66,7 +66,8 @@
 <listitem>
 Акселерированная поддержка
 <link doc="docs/http/ngx_http_fastcgi_module.xml">FastCGI</link>,
-uwsgi, SCGI и
+uwsgi,
+<link doc="docs/http/ngx_http_scgi_module.xml">SCGI</link> и
 <link doc="docs/http/ngx_http_memcached_module.xml">memcached</link>
 серверов с кэшированием,
 <link doc="docs/http/ngx_http_upstream_module.xml">простое
@@ -83,7 +84,7 @@
 <link doc="docs/http/ngx_http_image_filter_module.xml">преобразование
 изображений</link>;
 несколько подзапросов на одной странице, обрабатываемые в SSI-фильтре
-через прокси или FastCGI, выполняются параллельно;
+через прокси или FastCGI/SCGI, выполняются параллельно;
 </listitem>
 
 <listitem>