Mercurial > hg > nginx-site
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 +++ 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="38"> + rev="39"> <section id="summary"> @@ -296,6 +296,24 @@ Before 1.7.8, the response could be cach </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 +++ 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="52"> + rev="53"> <section id="summary"> @@ -312,6 +312,24 @@ Before 1.7.8, the response could be cach </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 +++ 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="27"> + rev="28"> <section id="summary"> @@ -288,6 +288,24 @@ Before 1.7.8, the response could be cach </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 +++ 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="30"> + rev="31"> <section id="summary"> @@ -288,6 +288,24 @@ Before 1.7.8, the response could be cach </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 +++ 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="38"> + rev="39"> <section id="summary"> @@ -296,6 +296,25 @@ fastcgi_cache_key localhost:9000$request </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 +++ 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="52"> + rev="53"> <section id="summary"> @@ -313,6 +313,25 @@ proxy_cache_key $scheme$proxy_host$uri$i </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 +++ 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="27"> + rev="28"> <section id="summary"> @@ -288,6 +288,25 @@ scgi_cache_key localhost:9000$request_ur </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 +++ 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="30"> + rev="31"> <section id="summary"> @@ -287,6 +287,25 @@ uwsgi_cache_key localhost:9000$request_u </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> |