# How to support file upload in Nginx 1.8

**URL:** <https://www.ruby-forum.com/t/how-to-support-file-upload-in-nginx-1-8/242124>\
**Category:** NGINX\
**Created:** [May 29, 2015, 4:49am UTC](https://www.ruby-forum.com/t/how-to-support-file-upload-in-nginx-1-8/242124 "2015-05-29T04:49:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [May 29, 2015, 4:49am UTC](https://www.ruby-forum.com/t/how-to-support-file-upload-in-nginx-1-8/242124/1 "2015-05-29T04:49:13Z")

</div>

Hi  
I am using Nginx 1.8 version, and Is it default support file upload, I  
found there is

clientbodyinfileonly in Nginx, so is it official method to support file  
upload\>?

Thanks~

–  
Rejoice,I Desire!

---

<div class="post-metadata">

**Author:** ![Jerry\_OELoo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/848f3c/32.png) [@Jerry\_OELoo](https://www.ruby-forum.com/u/Jerry_OELoo)\
**Post date:** [July 17, 2015, 11:50pm UTC](https://www.ruby-forum.com/t/how-to-support-file-upload-in-nginx-1-8/242124/2 "2015-07-17T23:50:10Z")

</div>

I’m very new, a novice when it comes to nginx and setting up a web  
server,  
and trying to figure out how to upload files. We already have an Apache  
solution with PHP, but do not want to use PHP anymore.

I’ve looked over this tutorial but could not get it to work:

> **[Nginx direct file upload (Example)](https://coderwall.com/p/swgfvw/nginx-direct-file-upload-without-passing-them-through-backend)**
>
> A protip by mikhailov about nginx and file upload.

Is there a really elementary step-by-step explanation for adding upload  
capability through a post command? I mean, I’m not even sure where all  
the  
files and folders are supposed to go.

Finally, we will not be uploading files through a web-browser, but from  
desktop and mobile applications. So any explanations related to that may  
not  
be helpful.

Sorry to be such a newbie, but I don’t have a ton of experience outside  
my  
programming language: LiveCode. But I am diving in trying to learn more.

I’m on Ubuntu 14.04 using nginx 1.8.0. I also added the  
nginx\_upload\_module  
to my build; not sure if this is causing problems trying to use  
clientbodyinfileonly.

TIA,

e

Posted at Nginx Forum:

> **[Re: \[Nginx\] How to support file upload in Nginx 1.8](https://forum.nginx.org/read.php?2,259249,260411#msg-260411)**
>
> Hi I am using Nginx 1.8 version, and Is it default support file upload, I found there is clientbodyinfileonly in Nginx, so is it official method to support file upload\>? Thanks~ -- Rejoice,I Desire! \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
