# How to Compiling nginx-upload-progress-module

**URL:** <https://www.ruby-forum.com/t/how-to-compiling-nginx-upload-progress-module/197952>\
**Category:** NGINX\
**Created:** [October 23, 2010, 9:14am UTC](https://www.ruby-forum.com/t/how-to-compiling-nginx-upload-progress-module/197952 "2010-10-23T09:14:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [October 23, 2010, 9:14am UTC](https://www.ruby-forum.com/t/how-to-compiling-nginx-upload-progress-module/197952/1 "2010-10-23T09:14:39Z")

</div>

I not sure how to compile nginx-upload-progress-module, This is my step  
for ubuntu 10.04 in linode server. i create a temp folder to dump all  
the source there.

cd temp  
wget [http://nginx.org/download/nginx-0.8.53.tar.gz](http://nginx.org/download/nginx-0.8.53.tar.gz)  
(download from [GitHub - masterzen/nginx-upload-progress-module: Nginx module implementing an upload progress system, that monitors RFC1867 POST uploads as they are transmitted to upstream servers.](http://github.com/masterzen/nginx-upload-progress-module)  
and sftp to “temp”)  
masterzen-nginx-upload-progress-module-v0.8.1-0-gc740674.tar.gz

upzip them  
tar xzvf nginx-0.8.53.tar.gz  
tar xzvf  
masterzen-nginx-upload-progress-module-v0.8.1-0-gc740674.tar.gz

I got funny folder name for  
masterzen-nginx-upload-progress-module-c740674, anyway i rename it as  
nginx\_uploadprogress\_module

cd nginx-0.8.53  
./configure --prefix=/opt   
–sbin-path=/opt/sbin/nginx   
–conf-path=/opt/etc/nginx/http-nginx.conf   
–error-log-path=/var/log/http-nginx/error.log   
–http-log-path=/var/log/http-nginx/access.log   
–pid-path=/var/run/http-nginx.pid   
–lock-path=/var/lock/http-nginx.lock   
–user=www-data   
–group=www-data   
–with-http\_realip\_module   
–with-rtsig\_module   
–with-http\_gzip\_static\_module   
–with-http\_stub\_status\_module   
–with-http\_ssl\_module   
–without-mail\_pop3\_module   
–without-mail\_imap\_module   
–without-mail\_smtp\_module   
–add-module=/root/temp/nginx-uploadprogress-module/

make &&  
make install

Is this the correct way? cause really don’t understand from

> **[NGINX Upload Progress Module | NGINX](https://www.nginx.com/resources/wiki/modules/upload_progress/)**
>
> The NGINX Upload Progress module is an implementation of an upload progress system, that monitors RFC1867 POST uploads as they are transmitted to upstream servers.

Posted at Nginx Forum:

> **[How to Compiling nginx-upload-progress-module](https://forum.nginx.org/read.php?2,143760,143760#msg-143760)**
>
> I not sure how to compile nginx-upload-progress-module, This is my step for ubuntu 10.04 in linode server. i create a temp folder to dump all the source there. cd temp wget http://nginx.org/download/nginx-0.8.53.tar.gz (download from...

---

<div class="post-metadata">

**Author:** ![spacereactor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@spacereactor](https://www.ruby-forum.com/u/spacereactor)\
**Post date:** [October 23, 2010, 2:02pm UTC](https://www.ruby-forum.com/t/how-to-compiling-nginx-upload-progress-module/197952/2 "2010-10-23T14:02:10Z")

</div>

On 23 Out 2010 08h13 WEST, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> tar xzvf nginx-0.8.53.tar.gz  
> tar xzvf  
> masterzen-nginx-upload-progress-module-v0.8.1-0-gc740674.tar.gz

It’s simpler to clone the git repo and work from there. No strange  
names issues.

> I got funny folder name for  
> masterzen-nginx-upload-progress-module-c740674, anyway i rename it  
> as nginx\_uploadprogress\_module  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^

> –with-http\_realip\_module   
> –with-rtsig\_module   
> –with-http\_gzip\_static\_module   
> –with-http\_stub\_status\_module   
> –with-http\_ssl\_module   
> –without-mail\_pop3\_module   
> –without-mail\_imap\_module   
> –without-mail\_smtp\_module   
> –add-module=/root/temp/nginx-uploadprogress-module/  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Unless it’s a typo above: no. The --add-module option must point to a  
valid path. See above: \_ instead of -.

Where does source for the module live in the filesystem? Point  
add-module to that.  
— appa
