When a user uploads
/tmp/stream* files are created during the upload.
How do I can I change the temporary upload directory from:
- nginx 0.8.53
- Phusion Passenger 2.2.15 (mod_rails/mod_rack)
- Debian Lenny
You might want to look at the Nginx upload module. It lets you ask Nginx to write the file to a folder and then pass a pointer to its location to your backend. Temporary upload path can be set using $upload_tmp_path variable. Read more at http://www.grid.net.ru/nginx/upload.en.html