http://nginx.org/en/download.html
cd /tmp
wget http://nginx.org/download/nginx-1.5.10.tar.gz
tar xzvf nginx-1.5.10.tar.gz
cd nginx-1.5.10
./configure --sbin-path=/usr/local/sbin --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-http_ssl_module
make
make install