changeset 2122:86a73b6f32f2

Added example to ssi include set.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 21 Mar 2018 16:46:58 +0300
parents cf9e3d2893b6
children 4febfa6b9cc5
files xml/en/docs/http/ngx_http_ssi_module.xml xml/ru/docs/http/ngx_http_ssi_module.xml
diffstat 2 files changed, 17 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssi_module.xml
+++ b/xml/en/docs/http/ngx_http_ssi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_ssi_module"
         link="/en/docs/http/ngx_http_ssi_module.html"
         lang="en"
-        rev="9">
+        rev="10">
 
 <section id="summary">
 
@@ -368,8 +368,13 @@ for example:
 </example>
 The maximum size of the response is set by the
 <link doc="ngx_http_core_module.xml" id="subrequest_output_buffer_size"/>
-value in the target location (1.13.10).
-<para>
+directive (1.13.10):
+<example>
+location /remote {
+    subrequest_output_buffer_size 64k;
+    ...
+}
+</example>
 Prior to version 1.13.10, only the results of responses obtained using the
 <link doc="ngx_http_proxy_module.xml">ngx_http_proxy_module</link>,
 <link doc="ngx_http_memcached_module.xml">ngx_http_memcached_module</link>,
@@ -384,7 +389,6 @@ The maximum size of the response was set
 <link doc="ngx_http_uwsgi_module.xml" id="uwsgi_buffer_size"/>,
 and <link doc="ngx_http_scgi_module.xml" id="scgi_buffer_size"/>
 directives.
-</para>
 </tag-desc>
 
 </list>
--- a/xml/ru/docs/http/ngx_http_ssi_module.xml
+++ b/xml/ru/docs/http/ngx_http_ssi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_ssi_module"
         link="/ru/docs/http/ngx_http_ssi_module.html"
         lang="ru"
-        rev="9">
+        rev="10">
 
 <section id="summary">
 
@@ -370,10 +370,15 @@ SSI, например:
 <example>
 &lt;!--# include virtual="/remote/body.php?argument=value" set="one" --&gt;
 </example>
-Максимальный размер ответа задаётся значением
+Максимальный размер ответа задаётся директивой
 <link doc="ngx_http_core_module.xml" id="subrequest_output_buffer_size"/>
-в целевом location (1.13.10).
-<para>
+(1.13.10):
+<example>
+location /remote {
+    subrequest_output_buffer_size 64k;
+    ...
+}
+</example>
 До версии 1.13.10 в переменные можно было записать только результаты
 ответов, полученные через модули
 <link doc="ngx_http_proxy_module.xml">ngx_http_proxy_module</link>,
@@ -387,7 +392,6 @@ SSI, например:
 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_buffer_size"/>,
 <link doc="ngx_http_uwsgi_module.xml" id="uwsgi_buffer_size"/>
 и <link doc="ngx_http_scgi_module.xml" id="scgi_buffer_size"/>.
-</para>
 </tag-desc>
 
 </list>