Upgrade to latest nginx on Debian
By default, Debian 7 comes with nginx 1.2.x which is a little bit out-dated. This short tutorial will introduce how to upgrade to latest nginx on Debian.
First, add necessary wheezy-backports to the sources.list (/etc/apt/sources.list):
deb http://ftp.de.debian.org/debian/ wheezy-backports main contrib non-freeThen, update with the new source:
aptitude update
aptitude -t wheezy-backports install nginxThat’s all 🙂
Troubleshoots
- If there are errors regarding “W: There is no public key available for the following key IDs: “, install the following packages:
aptitude install debian-keyring debian-archive-keyring - __