changeset 1337:91a064bdb4f9

Documented the "proxy_force_ranges" directive and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 06 Oct 2014 14:48:46 +0400
parents 2096ecf6de02
children c63717ebc5bc
files xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_memcached_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_memcached_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 10 files changed, 185 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_fastcgi_module"
         link="/en/docs/http/ngx_http_fastcgi_module.html"
         lang="en"
-        rev="18">
+        rev="19">
 
 <section id="summary">
 
@@ -580,6 +580,23 @@ It should be noted that this timeout can
 </directive>
 
 
+<directive name="fascgi_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Enables byte-range support
+for both cached and uncached responses from the FastCGI server
+regardless of the <header>Accept-Ranges</header> field in these responses.
+</para>
+
+</directive>
+
+
 <directive name="fastcgi_hide_header">
 <syntax><value>field</value></syntax>
 <default/>
--- a/xml/en/docs/http/ngx_http_memcached_module.xml
+++ b/xml/en/docs/http/ngx_http_memcached_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_memcached_module"
         link="/en/docs/http/ngx_http_memcached_module.html"
         lang="en"
-        rev="9">
+        rev="10">
 
 <section id="summary">
 
@@ -100,6 +100,23 @@ It should be noted that this timeout can
 </directive>
 
 
+<directive name="memcached_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Enables byte-range support
+for both cached and uncached responses from the memcached server
+regardless of the <header>Accept-Ranges</header> field in these responses.
+</para>
+
+</directive>
+
+
 <directive name="memcached_gzip_flag">
 <syntax><value>flag</value></syntax>
 <default></default>
--- a/xml/en/docs/http/ngx_http_proxy_module.xml
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="25">
+        rev="26">
 
 <section id="summary">
 
@@ -691,6 +691,23 @@ proxy_cookie_path ~*^/user/([^/]+) /u/$1
 </directive>
 
 
+<directive name="proxy_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Enables byte-range support
+for both cached and uncached responses from the proxied server
+regardless of the <header>Accept-Ranges</header> field in these responses.
+</para>
+
+</directive>
+
+
 <directive name="proxy_headers_hash_bucket_size">
 <syntax><value>size</value></syntax>
 <default>64</default>
--- a/xml/en/docs/http/ngx_http_scgi_module.xml
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_scgi_module"
         link="/en/docs/http/ngx_http_scgi_module.html"
         lang="en"
-        rev="6">
+        rev="7">
 
 <section id="summary">
 
@@ -545,6 +545,23 @@ It should be noted that this timeout can
 </directive>
 
 
+<directive name="scgi_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Enables byte-range support
+for both cached and uncached responses from the SCGI server
+regardless of the <header>Accept-Ranges</header> field in these responses.
+</para>
+
+</directive>
+
+
 <directive name="scgi_hide_header">
 <syntax><value>field</value></syntax>
 <default/>
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="7">
+        rev="8">
 
 <section id="summary">
 
@@ -545,6 +545,23 @@ It should be noted that this timeout can
 </directive>
 
 
+<directive name="uwsgi_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Enables byte-range support
+for both cached and uncached responses from the uwsgi server
+regardless of the <header>Accept-Ranges</header> field in these responses.
+</para>
+
+</directive>
+
+
 <directive name="uwsgi_hide_header">
 <syntax><value>field</value></syntax>
 <default/>
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_fastcgi_module"
         link="/ru/docs/http/ngx_http_fastcgi_module.html"
         lang="ru"
-        rev="18">
+        rev="19">
 
 <section id="summary">
 
@@ -579,6 +579,24 @@ location /php {
 </directive>
 
 
+<directive name="fastcgi_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Включает поддержку диапазонов запрашиваемых байт (byte-range)
+для кэшированных и некэшированных ответов FastCGI-сервера
+вне зависимости от наличия поля <header>Accept-Ranges</header>
+в заголовках этих ответов.
+</para>
+
+</directive>
+
+
 <directive name="fastcgi_hide_header">
 <syntax><value>поле</value></syntax>
 <default/>
--- a/xml/ru/docs/http/ngx_http_memcached_module.xml
+++ b/xml/ru/docs/http/ngx_http_memcached_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_memcached_module"
         link="/ru/docs/http/ngx_http_memcached_module.html"
         lang="ru"
-        rev="9">
+        rev="10">
 
 <section id="summary">
 
@@ -100,6 +100,24 @@ server {
 </directive>
 
 
+<directive name="memcached_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Включает поддержку диапазонов запрашиваемых байт (byte-range)
+для кэшированных и некэшированных ответов сервера memcached
+вне зависимости от наличия поля <header>Accept-Ranges</header>
+в заголовках этих ответов.
+</para>
+
+</directive>
+
+
 <directive name="memcached_gzip_flag">
 <syntax><value>флаг</value></syntax>
 <default></default>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="25">
+        rev="26">
 
 <section id="summary">
 
@@ -690,6 +690,24 @@ proxy_cookie_path ~*^/user/([^/]+) /u/$1
 </directive>
 
 
+<directive name="proxy_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Включает поддержку диапазонов запрашиваемых байт (byte-range)
+для кэшированных и некэшированных ответов проксируемого сервера
+вне зависимости от наличия поля <header>Accept-Ranges</header>
+в заголовках этих ответов.
+</para>
+
+</directive>
+
+
 <directive name="proxy_headers_hash_bucket_size">
 <syntax><value>размер</value></syntax>
 <default>64</default>
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_scgi_module"
         link="/ru/docs/http/ngx_http_scgi_module.html"
         lang="ru"
-        rev="6">
+        rev="7">
 
 <section id="summary">
 
@@ -544,6 +544,24 @@ scgi_cache_valid any      1m;
 </directive>
 
 
+<directive name="scgi_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Включает поддержку диапазонов запрашиваемых байт (byte-range)
+для кэшированных и некэшированных ответов SCGI-сервера
+вне зависимости от наличия поля <header>Accept-Ranges</header>
+в заголовках этих ответов.
+</para>
+
+</directive>
+
+
 <directive name="scgi_hide_header">
 <syntax><value>поле</value></syntax>
 <default/>
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_uwsgi_module"
         link="/ru/docs/http/ngx_http_uwsgi_module.html"
         lang="ru"
-        rev="7">
+        rev="8">
 
 <section id="summary">
 
@@ -544,6 +544,24 @@ uwsgi_cache_valid any      1m;
 </directive>
 
 
+<directive name="uwsgi_force_ranges">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.7</appeared-in>
+
+<para>
+Включает поддержку диапазонов запрашиваемых байт (byte-range)
+для кэшированных и некэшированных ответов uwsgi-сервера
+вне зависимости от наличия поля <header>Accept-Ranges</header>
+в заголовках этих ответов.
+</para>
+
+</directive>
+
+
 <directive name="uwsgi_hide_header">
 <syntax><value>поле</value></syntax>
 <default/>