Are you looking to configure Drupal with nginx Server? Here is how you build nginx from source with php upload progress module in ubuntu.

Create a directory nginx-src and change to that directory

mkdir nginx-src
cd nginx-src

Then download the source package via apt