Client_body_in_file_only directive

When viewing the
documentation
for client_body_in_file_only
, it shows the only possible values as
on/off.

My confusion occurs when viewing the PHP-FPM
suggested
usage of client_body_in_file_only
, as it shows the directive with
a value of clean.

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?

Thanks!

Posted at Nginx Forum:

Hello!

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

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 D.

Thanks, that’s what I was hoping :slight_smile:

Posted at Nginx Forum:

I’ll try to get the wiki updated.

There hasn’t been a whole lot of reason to change anything since fpm is
in core now and 5.2.x hasn’t introduced anything new forever :slight_smile: