Welcome! Log In Create A New Profile

Advanced

about "Accelerated upload support"

Posted by willko 
about "Accelerated upload support"
September 04, 2009 12:24PM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready