From ArchWiki
Revision as of 11:49, 3 January 2009 by Willey (talk | contribs)
Jump to: navigation, search


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.


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


 # /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.


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 Configuration Examples.