Nginx

From ArchWiki
Revision as of 11:42, 3 January 2009 by Willey (Talk | contribs) (New page: {{stub}} ==Summary== Nginx (pronounced "engine X") written by Igor Sysoev (Russia) in 2005, is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Nginx#)

Summary

Nginx (pronounced "engine X") written by Igor Sysoev (Russia) in 2005, is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. According to the Netcraft December 2008 Web Server Survey, nginx now hosts nearly 1.80% of all domains worldwide, while lighttpd hosts about 1.63%. Nginx is now well known for its stability, rich feature set, simple configuration, and low resource consumption.

Installation

The nginx package is now in the Community Repository, the latest stable version is nginx-0.6.34:

 # pacman -S nginx

or you can compile and install the latest development version with ABS.

Starting service

Run

 /etc/rc.d/nginx start

to start working. The default configuration is enabling an example site in /var/www/localhost/htdocs.

To enable service by default at startup just add "nginx" to the DAEMONS in the /etc/rc.conf.

Configuring

You can modify the configurations by editing the files in /etc/nginx. (/etc/nginx/nginx.conf being the main config file) .

More details can be referred from Nginx Wiki.

References