view xml/en/index.xml @ 121:49443032011c

Unified <section> syntax for "article" and "module" documents.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 Oct 2011 20:27:51 +0000
parents 3179774f938e
children 7db449e89e92
line wrap: on
line source

<!DOCTYPE article SYSTEM "../../dtd/article.dtd">

<article title="nginx"
         link="/en/"
         lang="en">


<section>

<para>
nginx [engine x] is an HTTP and reverse proxy server,
as well as a mail proxy server,
written by <link url="http://sysoev.ru/en/">Igor Sysoev</link>.
For a long time, it has been running
on many heavily loaded Russian sites including
<link url="http://www.yandex.ru">Yandex</link>,
<link url="http://www.mail.ru">Mail.Ru</link>,
<link url="http://vkontakte.ru">VKontakte</link>, and
<link url="http://www.rambler.ru">Rambler</link>.
According to Netcraft nginx served or proxied
<link url="http://news.netcraft.com/archives/2011/10/06/october-2011-web-server-survey.html">7.84%
busiest sites in October 2011</link>.
Here are some of the success stories:
<link url="http://blog.fastmail.fm/2007/01/04/webimappop-frontend-proxies-changed-to-nginx/">FastMail.FM</link>,
<link url="http://barry.wordpress.com/2008/04/28/load-balancer-update/">Wordpress.com</link>.
</para>

<para>
The sources are distributed under the
<link url="../LICENSE">2-clause BSD-like license</link>.
</para>

</section>


<section id="basic_http_features"
        name="Basic HTTP server features">

<para>
<list>

<item>
Serving static and index files, and autoindexing;
<link doc="docs/http/ngx_http_core_module.xml"
       id="open_file_cache">open file descriptor cache</link>;
</item>

<item>
Accelerated reverse proxying with caching;
simple load balancing and fault tolerance;
</item>

<item>
Accelerated support with caching of FastCGI, uwsgi, SCGI, and memcached servers;
simple load balancing and fault tolerance;
</item>

<item>
Modular architecture.
Filters include gzipping, byte ranges, chunked responses, XSLT, SSI,
and image resizing filter.
Multiple SSI inclusions within a single page can be processed in
parallel if they are handled by proxied or FastCGI servers;
</item>

<item>
SSL and TLS SNI support.
</item>

</list>
</para>

</section>


<section id="other_http_features"
        name="Other HTTP server features">

<para>
<list>

<item>
Name-based and IP-based virtual servers;
</item>

<item>
<link doc="docs/http/ngx_http_core_module.xml"
       id="keepalive_timeout">Keep-alive</link>
and pipelined connections support;
</item>

<item>
Flexible configuration;
</item>

<item>
Reconfiguration and upgrade of an executable without interruption
of the client servicing;
</item>

<item>
Access log formats, buffered log writing, and fast log rotation;
</item>

<item>
3xx-5xx error codes
<link doc="docs/http/ngx_http_core_module.xml"
       id="error_page">redirection</link>;
</item>

<item>
The rewrite module: URI changing using regular expressions;
</item>

<item>
Executing different functions depending on the client address;
</item>

<item>
Access control based on client IP address and HTTP Basic authentication;
</item>

<item>
The PUT, DELETE, MKCOL, COPY, and MOVE methods;
</item>

<item>
FLV and
<link doc="docs/http/ngx_http_mp4_module.xml">MP4</link>
streaming;
</item>

<item>
<link doc="docs/http/ngx_http_core_module.xml"
       id="limit_rate">Response rate limiting</link>;
</item>

<item>
Limiting the number of simultaneous connections or requests
coming from one address;
</item>

<item>
Embedded Perl.
</item>

</list>
</para>

</section>


<section id="mail_proxy_server_features"
        name="Mail proxy server features">

<para>
<list>

<item>
User redirection to IMAP/POP3 backend using an external HTTP
authentication server;
</item>

<item>
User authentication using an external HTTP authentication server
and connection redirection to an internal SMTP backend;
</item>

<item>
Authentication methods:

<list>

<item>
POP3: USER/PASS, APOP, AUTH LOGIN/PLAIN/CRAM-MD5;
</item>

<item>
IMAP: LOGIN, AUTH LOGIN/PLAIN/CRAM-MD5;
</item>

<item>
SMTP: AUTH LOGIN/PLAIN/CRAM-MD5;
</item>

</list>
</item>

<item>
SSL support;
</item>

<item>
STARTTLS and STLS support.
</item>

</list>
</para>

</section>


<section id="architecture_and_scalability"
        name="Architecture and scalability">

<para>
<list>

<item>
One master and several worker processes;
worker processes run under an unprivileged user;
</item>

<item>
The notification methods: kqueue (FreeBSD 4.1+),
epoll (Linux 2.6+), rt signals (Linux 2.2.19+),
/dev/poll (Solaris 7 11/99+), event ports (Solaris 10),
select, and poll;
</item>

<item>
The support of the various kqueue features including EV_CLEAR, EV_DISABLE
(to temporarily disable events), NOTE_LOWAT, EV_EOF, number of available data,
error codes;
</item>

<item>
sendfile (FreeBSD 3.1+, Linux 2.2+, Mac OS X 10.5+), sendfile64 (Linux 2.4.21+),
and sendfilev (Solaris 8 7/01+) support;
</item>

<item>
<link doc="docs/http/ngx_http_core_module.xml" id="aio">File AIO</link>
(FreeBSD 4.3+, Linux 2.6.22+);
</item>

<item>
<link doc="docs/http/ngx_http_core_module.xml" id="directio">DIRECTIO</link>
(FreeBSD 4.4+, Linux 2.4+, Solaris 2.6+, Mac OS X);
</item>

<item>
Accept-filters (FreeBSD 4.1+) and TCP_DEFER_ACCEPT (Linux 2.4+)
<link doc="docs/http/ngx_http_core_module.xml" id="listen">support</link>;
</item>

<item>
10,000 inactive HTTP keep-alive connections take about 2.5M memory;
</item>

<item>
Data copy operations are kept to a minimum.
</item>

</list>
</para>

</section>


<section id="tested_os_and_platforms"
        name="Tested OS and platforms">

<para>
<list>

<item>
FreeBSD 3 &mdash; 9 / i386; FreeBSD 5 &mdash; 9 / amd64;
</item>

<item>
Linux 2.2 &mdash; 2.6 / i386; Linux 2.6 / amd64;
</item>

<item>
Solaris 9 / i386, sun4u; Solaris 10 / i386, amd64, sun4v;
</item>

<item>
Mac OS X / ppc, i386;
</item>

<item>
Windows XP, Windows Server 2003.
</item>

</list>
</para>

</section>

</article>