client_body_in_file_only directive

Maxim Dounin mdounin at mdounin.ru
Tue Oct 12 20:25:27 MSD 2010


Hello!

On Tue, Oct 12, 2010 at 11:55:08AM -0400, jlangevin wrote:

> When viewing the
> [url=http://wiki.nginx.org/NginxHttpCoreModule#client_body_in_file_only]documentation
> for client_body_in_file_only[/url], it shows the only possible values as
> [b]on/off[/b].
> 
> My confusion occurs when viewing the PHP-FPM
> [url=http://php-fpm.org/wiki/Features#Accelerated_upload_support]suggested
> usage of client_body_in_file_only[/url], as it shows the directive with
> a value of [b]clean[/b].
> 
> This makes me wonder if there is possibly an undocumented feature of
> Nginx client_body_in_file_only, to clean/remove the resulting file at
> some point?
> 
> Or is PHP-FPM's documentation just incorrect?

Wiki is just incomplete.  The "clean" parameter was introduced in 
0.5.9 (see CHANGES), see Russian docs for description:

http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#client_body_in_file_only

Maxim Dounin



More information about the nginx mailing list