Mercurial > hg > nginx-site
changeset 2657:679fb7712ab4
Updated client_max_body_size for chunked encoding and HTTP/2.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 24 Feb 2021 19:34:48 +0300 |
parents | 6e5ef4a0707f |
children | 81a7c9980db8 |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 4 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="92"> + rev="93"> <section id="directives" name="Directives"> @@ -450,10 +450,7 @@ error. <context>location</context> <para> -Sets the maximum allowed size of the client request body, -specified in the -<header>Content-Length</header> -request header field. +Sets the maximum allowed size of the client request body. If the size in a request exceeds the configured value, the <http-status code="413" text="Request Entity Too Large"/> error is returned to the client.
--- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_core_module" link="/ru/docs/http/ngx_http_core_module.html" lang="ru" - rev="92"> + rev="93"> <section id="directives" name="Директивы"> @@ -445,10 +445,7 @@ client_body_temp_path /spool/nginx/clien <context>location</context> <para> -Задаёт максимально допустимый размер тела запроса клиента, -указываемый в поле -<header>Content-Length</header> -заголовка запроса. +Задаёт максимально допустимый размер тела запроса клиента. Если размер больше заданного, то клиенту возвращается ошибка <http-status code="413" text="Request Entity Too Large"/>. Следует иметь в виду, что