How to Compiling nginx-upload-progress-module

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 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.
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

Posted at Nginx Forum:

On 23 Out 2010 08h13 WEST, [email protected] 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