Install Nginx

As an example, perform the following steps to download and install Nginx for Linux.
  • wget http://nginx.org/download/nginx-1.2.6.tar.gz
  • tar -xzf nginx-1.2.6.tar.gz
  • cd nginx-1.2.6/
  • ./configure --prefix=/opt/Tomcat/nginx (example: ./configure --prefix=/opt/Tomcat/nginx --without-http_gzip_module --with-http_stub_status_module )
  • Make
  • Make install