# Upload directory

**URL:** <https://www.ruby-forum.com/t/upload-directory/196289>\
**Category:** NGINX\
**Created:** [October 10, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/upload-directory/196289 "2010-10-10T23:33:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/258eb7/32.png) [@JCR](https://www.ruby-forum.com/u/JCR)\
**Post date:** [October 10, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/upload-directory/196289/1 "2010-10-10T23:33:45Z")

</div>

Hello,

By default, where does Nginx store files that are uploaded through an  
html form? I am using a fastcgi application linked to nginx through  
supervisord. Or is it up to the sole cgi library to decide where to  
store that file? I am a bit confused here.  
Thanks!

Posted at Nginx Forum:

> **[upload directory](https://forum.nginx.org/read.php?2,139084,139084#msg-139084)**
>
> Hello, By default, where does Nginx store files that are uploaded through an html form? I am using a fastcgi application linked to nginx through supervisord. Or is it up to the sole cgi library to decide where to store that file? I am a bit confused...

---

<div class="post-metadata">

**Author:** ![JCR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/258eb7/32.png) [@JCR](https://www.ruby-forum.com/u/JCR)\
**Post date:** [October 11, 2010, 6:12pm UTC](https://www.ruby-forum.com/t/upload-directory/196289/2 "2010-10-11T18:12:14Z")

</div>

----- JCR [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,
> 
> By default, where does Nginx store files that are uploaded through an  
> html form? I am using a fastcgi application linked to nginx through  
> supervisord. Or is it up to the sole cgi library to decide where to  
> store that file? I am a bit confused here.

It’s up to cgi library unless you use upload module:

[http://www.grid.net.ru/nginx/upload.en.html](http://www.grid.net.ru/nginx/upload.en.html)

–  
Regards,  
Valery K.
