Topic: Manual Nginx compilation
You can download any nginx version from http://wiki.nginx.org/ and compile it as follows , for your nginx plugin ,
Download the source and extract it ,
# ./configure --prefix=/usr/local/nginx #{Here add your custom flags}
# make
# make install
# cp -f /etc/cpnginx/nginx.conf.template /usr/local/nginx/conf/nginx.conf
# touch /usr/local/nginx/conf/vhost.conf
# /script/rebuildnginxvhost
# /etc/init.d/nginx restart
Now you can customize the configuration from WHM- > Plugins -> cPanel nginx