# HG changeset patch # User Ruslan Ermilov # Date 1329217433 0 # Node ID f8248d0e3c8f2444abac40775284ba32f22ebfb7 # Parent e766fa4c2dbb46b55979ff081c57765c252dc40c Documented the following directives: fastcgi_busy_buffers_size, fastcgi_max_temp_file_size, and fastcgi_temp_file_write_size. diff -r e766fa4c2dbb -r f8248d0e3c8f xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Mon Feb 13 13:35:57 2012 +0000 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Feb 14 11:03:53 2012 +0000 @@ -75,6 +75,26 @@ + +size +8k|16k +http +server +location + + +Limits the total size of buffers that +can be busy sending a response to the client while the response is not +yet fully read. +In the mean time, the rest of the buffers can be used for reading a response +and, if needed, buffering part of a response to a temporary file. +By default, size is limited by two buffers set by the + and directives. + + + + + zone | off off @@ -437,6 +457,29 @@ + +size +1024m +http +server +location + + +When the whole response does not fit into memory buffers +set by the and +directives, part of a response can be saved to a temporary file. +This directive sets the maximum size of a temporary file. +The size of data written to a temporary file at a time is set +by the directive. + + + +Value of zero disables buffering of responses to temporary files. + + + + + error | @@ -772,6 +815,26 @@ + +size +8k|16k +http +server +location + + +Limits the size of data written to a temporary file +at a time, when buffering of responses from the FastCGI server +to temporary files is enabled. +By default, size is limited by two buffers set by the + and directives. +The maximum size of a temporary file is set by the + directive. + + + + + path @@ -785,7 +848,7 @@ Defines a directory for storing temporary files -received from another server. +with data received from FastCGI servers. Up to three-level subdirectory hierarchy can be used underneath the specified directory. For example, in the following configuration diff -r e766fa4c2dbb -r f8248d0e3c8f xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Mon Feb 13 13:35:57 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Feb 14 11:03:53 2012 +0000 @@ -74,6 +74,26 @@ + +размер +8k|16k +http +server +location + + +Ограничивает суммарный размер +буферов, которые могут быть заняты для отправки ответа клиенту, пока +ответ ещё не прочитан целиком. +Оставшиеся буферы тем временем могут использоваться для чтения ответа +и, при необходимости, буферизации части ответа во временный файл. +По умолчанию размер ограничен двумя буферами, заданными +директивами и . + + + + + зона | off off @@ -434,6 +454,29 @@ + +размер +1024m +http +server +location + + +Если ответ не вмещается целиком в буферы памяти, заданные +директивами и , +часть ответа может быть записана во временный файл. +Эта директива задаёт максимальный размер временного файла. +Размер данных, сбрасываемых во временный файл за один раз, задаётся +директивой . + + + +Значение 0 отключает возможность буферизации ответов во временные файлы. + + + + + error | @@ -767,6 +810,26 @@ + +размер +8k|16k +http +server +location + + +Ограничивает размер данных, сбрасываемых во временный файл +за один раз, при включённой буферизации ответов FastCGI-сервера +во временные файлы. +По умолчанию размер ограничен двумя буферами, заданными +директивами и . +Максимальный размер временного файла задаётся директивой +. + + + + + путь @@ -779,8 +842,8 @@ location -Задаёт имя каталога для хранения временных файлов, -полученных от другого сервера. +Задаёт имя каталога для хранения временных файлов с данными, +полученными от FastCGI-серверов. В каталоге может использоваться иерархия подкаталогов до трёх уровней. Например, при такой конфигурации