Note: This article was originally published in 2014. Some steps, commands, or software versions may have changed. Check the current NginX documentation for the latest information.

This article explains nginx and why it matters for your environment. Nginx is a high-performance HTTP server and reverse proxy, known for its stability, rich feature set, and low resource consumption.

What is: NginX

Lately I have been writing a lot about NginX so I thought I would write a small post to describe NginX and what it is.Although I like to write it NginX because its origins are in the Linux world they write it all in lower case nginx (I know, boring right). The name stands for Engine X, well, engine x… It is an HTTP server, reverse proxy server and a mail proxy server. It was written by Igot Sysoev who I believe is Russian. Maybe that’s why some very popular Russian sites like Yandex, Mail.Ru (VKontakte and Rambler) have been using it for a while. On this side of the world we have sites like Netflix and WordPress.com using NginX as their web / proxy server. Below is the information obtained from NginX.org covering the details of what NginX can do and its features. What I can talk about is how it fits in with our overall architecture when hosting web sites. We primarily use WordPress so seeing the guys at WordPress.com using NginX told us this was probably if not the best at least the right direction to go. We deployed an architecture that uses a front end reverse proxy with caching, and a back end PHP-FMP web server to serve the dynamic content from WordPress. The results were good, we were able to cache static content serving it much faster and preventing downtime while we make changes to our back end, while the back end is able to handle more traffic without a considerable spike in resource usage.   NginX sources and documentation are distributed under the (http://nginx.org/LICENSE). Basic HTTP server features  

 

Other HTTP server features

 

 

Mail proxy server features

 

 

Architecture and scalability

 

(http://img.zemanta.com/zemified_h.png?x-id=3443d225-e45c-4933-8419-d99a8da804a2)](http://www.zemanta.com/?px “Enhanced by Zemanta”)