Installing nginx using "apt-get install nginx" seems to install 1.2.1, however examining the repository, it looks like both 1.6.2 and 1.9.2 are available:
http://mirrordirector.raspbian.org/raspbian/pool/main/n/nginx/
How do I tell apt to install the newer versions? If those versions are not available, why are they there?
I'm more of a CentOS person than a Debian one, so apt is still a bit foreign to me...
EDIT:
I tried downloading the .deb and using dpkg to install it but I get a tonne of dependency problems...
root@raspberrypi:~/nginx# dpkg -i nginx-full_1.9.2-1_armhf.deb
Selecting previously unselected package nginx-full.
(Reading database ... 73404 files and directories currently installed.)
Unpacking nginx-full (from nginx-full_1.9.2-1_armhf.deb) ...
dpkg: dependency problems prevent configuration of nginx-full:
nginx-full depends on libgd3 (>= 2.1.0~alpha~); however:
Package libgd3 is not installed.
nginx-full depends on libpcre3 (>= 1:8.35); however:
Version of libpcre3:armhf on system is 1:8.31-2rpi2.
nginx-full depends on libssl1.0.0 (>= 1.0.2~beta3); however:
Version of libssl1.0.0:armhf on system is 1.0.1e-2+rvt+deb7u17.
dpkg: error processing nginx-full (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
nginx-full
apt-get dist-upgrade
.... raspberrypi.org/forums/viewtopic.php?f=66&t=47944