nginx

nginx: download


english
русский

简体中文
עברית
日本語
türkçe

news
about
download
security advisories
documentation
pgp keys
faq
links
books
support
donation

trac
wiki
twitter
nginx.com

Development version

CHANGESnginx-1.3.11  pgpnginx/Windows-1.3.11  pgp

Stable version

CHANGES-1.2nginx-1.2.6  pgpnginx/Windows-1.2.6  pgp

Legacy versions

CHANGES-1.0nginx-1.0.15  pgpnginx/Windows-1.0.15  pgp
CHANGES-0.8nginx-0.8.55  pgpnginx/Windows-0.8.55  pgp
CHANGES-0.7nginx-0.7.69  pgpnginx/Windows-0.7.69  pgp
CHANGES-0.6nginx-0.6.39  pgp
CHANGES-0.5nginx-0.5.38  pgp

Source Code

Read-only Subversion repositories:

  • code: svn://svn.nginx.org/nginx

Read-only Mercurial repositories:

  • site: http://hg.nginx.org/nginx.org

Trac source browser

Pre-Built Linux Packages for Stable

To enable automatic updates of Linux packages set up the yum repository for the RHEL/CentOS distributions, or the apt repository for the Debian/Ubuntu distributions.

To set up the yum repository for RHEL/CentOS, choose the corresponding nginx-release package from the list:

This package contains yum configuration file and a public PGP key necessary to authenticate signed RPMs. Download and install it, then run the following:

yum install nginx

Alternatively, a repository configuration can be added manually without installing the nginx-release package. Create the file named /etc/yum.repos.d/nginx.repo with the following contents:

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/
gpgcheck=0
enabled=1

Replace “OS” with “rhel” or “centos”, depending on the distribution used, and “OSRELEASE” with “5” or “6”, for 5.x or 6.x versions, respectively.

For Debian/Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing gpg key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring. Please download this key from our web site, and add it to the apt program keyring with the following command:

sudo apt-key add nginx_signing.key

For Debian replace codename with Debian distribution codename, and append the following to the end of the /etc/apt/sources.list file:

deb http://nginx.org/packages/debian/ codename nginx
deb-src http://nginx.org/packages/debian/ codename nginx

Supported Debian versions:

Version Codename
6.x squeeze

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 nginx

Supported Ubuntu versions:

Version Codename
10.04 lucid
11.10 oneiric
12.04 precise
12.10 quantal

For Debian/Ubuntu then run the following commands:

apt-get update
apt-get install nginx