Nginx binary packages are outdated and usually have an older version. If the binaries on your platform are not the latest and up-to-date, you can download the source from http://nginx.org/en/download.html. At the time of writing this chapter, Version 1.4.3 is the stable downloadable version.
You can also checkout or clone the latest source.
Read-only Subversion repositories:
Read-only Mercurial repositories:
After you have downloaded the source archive, un-tar it and use the following standard build commands to build a standard binary:
./configure make sudo make install
This places the Nginx binary under
user/local. However, you can override this path ...