How to add nginx file upload module to Debian Squeeze?

Solution 1:

Nginx upload module has been removed from Debian package/s, as of this writing. Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729003

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 https://serverfault.com/a/472513/102173 .