changeset 1838:0d6ac4838921

Documented proxy_cache_max_range_offset and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 03 Nov 2016 22:01:24 +0300
parents 18949021c145
children 4035f9146bbf
files xml/en/docs/http/ngx_http_fastcgi_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_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 8 files changed, 156 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_fastcgi_module"
         link="/en/docs/http/ngx_http_fastcgi_module.html"
         lang="en"
-        rev="38">
+        rev="39">
 
 <section id="summary">
 
@@ -296,6 +296,24 @@
 </directive>
 
 
+<directive name="fastcgi_cache_max_range_offset">
+<syntax><value>number</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Sets an offset in bytes for byte-range requests.
+If the range is beyond the offset,
+the range request will be passed to the FastCGI server
+and the response will not be cached.
+</para>
+
+</directive>
+
+
 <directive name="fastcgi_cache_methods">
 <syntax>
     <literal>GET</literal> |
--- a/xml/en/docs/http/ngx_http_proxy_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="52">
+        rev="53">
 
 <section id="summary">
 
@@ -312,6 +312,24 @@
 </directive>
 
 
+<directive name="proxy_cache_max_range_offset">
+<syntax><value>number</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Sets an offset in bytes for byte-range requests.
+If the range is beyond the offset,
+the range request will be passed to the proxied server
+and the response will not be cached.
+</para>
+
+</directive>
+
+
 <directive name="proxy_cache_methods">
 <syntax>
     <literal>GET</literal> |
--- a/xml/en/docs/http/ngx_http_scgi_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_scgi_module"
         link="/en/docs/http/ngx_http_scgi_module.html"
         lang="en"
-        rev="27">
+        rev="28">
 
 <section id="summary">
 
@@ -288,6 +288,24 @@
 </directive>
 
 
+<directive name="scgi_cache_max_range_offset">
+<syntax><value>number</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Sets an offset in bytes for byte-range requests.
+If the range is beyond the offset,
+the range request will be passed to the SCGI server
+and the response will not be cached.
+</para>
+
+</directive>
+
+
 <directive name="scgi_cache_methods">
 <syntax>
     <literal>GET</literal> |
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="30">
+        rev="31">
 
 <section id="summary">
 
@@ -288,6 +288,24 @@
 </directive>
 
 
+<directive name="uwsgi_cache_max_range_offset">
+<syntax><value>number</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Sets an offset in bytes for byte-range requests.
+If the range is beyond the offset,
+the range request will be passed to the uwsgi server
+and the response will not be cached.
+</para>
+
+</directive>
+
+
 <directive name="uwsgi_cache_methods">
 <syntax>
     <literal>GET</literal> |
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_fastcgi_module"
         link="/ru/docs/http/ngx_http_fastcgi_module.html"
         lang="ru"
-        rev="38">
+        rev="39">
 
 <section id="summary">
 
@@ -296,6 +296,25 @@
 </directive>
 
 
+<directive name="fastcgi_cache_max_range_offset">
+<syntax><value>число</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Задаёт смещение в байтах для запросов с указанием диапазона запрашиваемых байт
+(byte-range requests).
+Если диапазон находится за указанным смещением,
+range-запрос будет передан на FastCGI-сервер
+и ответ не будет закэширован.
+</para>
+
+</directive>
+
+
 <directive name="fastcgi_cache_methods">
 <syntax>
     <literal>GET</literal> |
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="52">
+        rev="53">
 
 <section id="summary">
 
@@ -313,6 +313,25 @@
 </directive>
 
 
+<directive name="proxy_cache_max_range_offset">
+<syntax><value>число</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Задаёт смещение в байтах для запросов с указанием диапазона запрашиваемых байт
+(byte-range requests).
+Если диапазон находится за указанным смещением,
+range-запрос будет передан на проксируемый сервер
+и ответ не будет закэширован.
+</para>
+
+</directive>
+
+
 <directive name="proxy_cache_methods">
 <syntax>
     <literal>GET</literal> |
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_scgi_module"
         link="/ru/docs/http/ngx_http_scgi_module.html"
         lang="ru"
-        rev="27">
+        rev="28">
 
 <section id="summary">
 
@@ -288,6 +288,25 @@
 </directive>
 
 
+<directive name="scgi_cache_max_range_offset">
+<syntax><value>число</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Задаёт смещение в байтах для запросов с указанием диапазона запрашиваемых байт
+(byte-range requests).
+Если диапазон находится за указанным смещением,
+range-запрос будет передан на SCGI-сервер
+и ответ не будет закэширован.
+</para>
+
+</directive>
+
+
 <directive name="scgi_cache_methods">
 <syntax>
     <literal>GET</literal> |
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Wed Nov 09 09:40:24 2016 +0000
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Thu Nov 03 22:01:24 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_uwsgi_module"
         link="/ru/docs/http/ngx_http_uwsgi_module.html"
         lang="ru"
-        rev="30">
+        rev="31">
 
 <section id="summary">
 
@@ -287,6 +287,25 @@
 </directive>
 
 
+<directive name="uwsgi_cache_max_range_offset">
+<syntax><value>число</value></syntax>
+<default/>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.11.6</appeared-in>
+
+<para>
+Задаёт смещение в байтах для запросов с указанием диапазона запрашиваемых байт
+(byte-range requests).
+Если диапазон находится за указанным смещением,
+range-запрос будет передан на uwsgi-сервер
+и ответ не будет закэширован.
+</para>
+
+</directive>
+
+
 <directive name="uwsgi_cache_methods">
 <syntax>
     <literal>GET</literal> |