Hello, everybody. My english is poor..
nginx.conf:
lient_body_in_file_only on;
client_body_temp_path /dev/shm/clibody/;
location ~ .*\.php$
{
include fcgi.conf;
fastcgi_pass unix:/tmp/nginx.socket;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param REQUEST_BODY_FILE $request_body_file;
}
-------------------------------------------------------------------
[root@srv clibody]# pwd
/dev/shm/clibody
[root@srv clibody]# ll
total 0
[root@srv clibody]# ll
total 4
-rw------- 1 www www 111 Sep 4 16:31 0000370373
[root@srv clibody]# ll
total 8
-rw------- 1 www www 111 Sep 4 16:31 0000370373
-rw------- 1 www www 111 Sep 4 16:31 0000370374
[root@srv clibody]#
php-fpm will not automatically delete it REQUEST_BODY_FILE file..
Thanks..
2009-09-05
Willko Cheng