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-free

Then, update with the new source:

aptitude update
aptitude -t wheezy-backports install nginx

That’s all 🙂

Troubleshoots

  1. 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
  2. __

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *