If you want to add nginx-upload-progress-module to NGINX in custombuild2, it will need to be compiled in. The module that needs to be compiled in will have an --add-module type flag which will need to be used. To add this flag, run the following:
cd /usr/local/directadmin/custombuild ./build update wget -O nginx-upload-progress-module.tar.gz https://github.com/masterzen/nginx-upload-progress-module/archive/master.tar.gz tar -zxvf nginx-upload-progress-module.tar.gz
mkdir -p custom/nginx_reverse/ cp configure/nginx_reverse/configure.nginx custom/nginx_reverse/configure.nginx vi custom/nginx_reverse/configure.nginx
mkdir -p custom/nginx/ cp configure/nginx/configure.nginx custom/nginx/configure.nginx vi custom/nginx/configure.nginx
add
--add-module=/usr/local/directadmin/custombuild/nginx-upload-progress-module-master/
line to the end of the file, and make sure the character "\" exists at the end of all lines except the last one.
./build clean ./build nginx /etc/init.d/nginx restart
For further instructions on how to configure nginx to use the module please refer to http://wiki.nginx.org/HttpUploadProgressModule or contact us to get our admin to configure it for you on hourly bases.