I needed use nginx Upload Progress Module to create a progress bar.
In local development, I use MacPorts to install nginx, but MacPorts does not have variant for that module.
So, I edited Portfile which is suitable for it.
I uploaded it to Gist.
Then, I installed nginx with the following command.
$ sudo port install nginx +ssl +uplaod_progress
You can see “–add-module” directive in this command, if the module is installed properly.
$ nginx -V