首先加入源代码所在网站的源
For Ubuntu replace codename with Ubuntu distribution codename, and append the following to the end of the/etc/apt/sources.list
file:
deb http://nginx.org/packages/ubuntu/ codename nginx deb-src http://nginx.org/packages/ubuntu/ codename ngin
当前的最新版本为1.3.14