Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to use nginx upload module in my Debian Squeeze server. I already have installed nginx and nginx-extras. the nginx version is 1.4.2. From the package description of nginx-extras, it seems that upload module should be included however nginx -V gives me this list:

nginx version: nginx/1.4.2
TLS SNI support enabled
configure arguments: 

which does not include upload module. This listing also confirms that upload module should be in squeeze nginx-extras since nginx 1.2.1.

I tried to re-package nginx from source and configure with upload module using this guide, but got error while compiling. I also installed the Wheezy packages by adding repos to /etc/apt/sources.list but they also did not contain upload module.

I hesitate to build nginx from source so I'm really have no other idea and appreciate your hints.


 dpkg --list | grep -i nginx
ii  nginx-common                        1.4.2-1~dotdeb.0             small, powerful, scalable web/proxy server - common files
ii  nginx-extras     

               1.4.2-1~dotdeb.0             nginx web/proxy server (extended version)

$dpkg --listfiles nginx-extras
share|improve this question
Can you add the output of dpkg --list | grep -i nginx ? – pkhamre Oct 7 '13 at 7:19
just added the package list – alfish Oct 7 '13 at 7:23
Okay, looks like you have the proper package installed. I'm out of ideas, sorry! – pkhamre Oct 7 '13 at 7:25
Can you run dpkg --listfiles nginx-extras and check if there is any upload-module related files? – pkhamre Oct 7 '13 at 7:26
pkhamre, I added the listing. There seems to be no uplod related file there. – alfish Oct 7 '13 at 7:42
up vote 1 down vote accepted

Nginx upload module has been removed from Debian package/s, as of this writing. Ref:;a=blob;f=debian/modules/README.Modules-versions;h=255fceff42ae8ddfd1161d750003f7b58ce92355;hb=HEAD#l37

Whenever you post the output of nginx -V, please consider formatting it. I use

nginx -V 2>&1 | sed 's,--,\n--,g'

to format its output. There are other ways to format too, such as a few mentioned at .

share|improve this answer
I see. So how can I downgrade nginx to 1.2.1 to be able to use the module? – alfish Oct 7 '13 at 9:00
I always compile Nginx from source and I have never used backports. So, I don't know how to go back. May be you could put it as a separate question in ServerFault. – Pothi Oct 7 '13 at 9:10
BTW, here's my script to compile from source.… Please note that it is not tested on Debian 6, but tested with Debian 7! – Pothi Oct 7 '13 at 9:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.