
Use the latest nginx in Ubuntu 12.04 Precise Pangolin
Official version of nginx for #Ubuntu Precise is 1.1.19 but the latest available stable version is 1.2.8 (Changes), In this post I will present you how to update to the latest available version.
Thanks to Ondřej Surý, maintainer for some Debian packages, you can have the latest PHP5 maintained by Debian PKG PHP Team in #Ubuntu Precise, Quantal , and Lucid.
Just run as root the following to use nginx
add-apt-repository ppa:ondrej/nginx apt-get update apt-get upgrade apt-get dist-upgrade
You can check that everything went fine
dpkg -l | grep nginx
ii nginx 1.2.8-1~precise+1 ii nginx-common 1.2.8-1~precise+1 ii nginx-full 1.2.8-1~precise+1
Changes with nginx 1.2
More at http://wiki.nginx.org/Install