Step 1: Download a tarball by going to: http://nginx.org/en/download.html
Step 2: Extract the tarball: tar <name-of-tarball-file>
Step 3: Configure from extracted source:
./configure --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-pcre --pid-path=/var/run/nginx.pid --with-http_ssl_module
Step 4: Make & install