What is Nginx?

Nginx is a reverse proxy server open source (open source reverse proxy server) using common protocols HTTP, HTTPS, SMTP, POP3 and IMAP as well as used as load balancing (load balancer), HTTP cache and server (web server). Nginx project focused on serving the large number of concurrent connections (high concurrency), high performance and low memory usage. Nginx is known for high stability, rich feature set, simple configuration, and save resources.

Nginx Logo

Nginx Logo

Nginx was originally developed by Igor Sysoev in 2002 and first published in 2004. In July 2011, the company Nginx Inc. was founded and is headquartered in San Francisco, California, USA. The company provides commercial support (for a fee) in February 2012. In October 2013, Nginx received $ 10 million investment from New Enterprise Associates.

Factsheet about Nginx

Logonginx-logo
AuthorIgor Sysoev
DeveloperNginx, Inc.
Initial release6 August 2002
Development statusActive
Written inprogramming languages C
OS Supportedcross platform (Unix, Windows, Mac OS)
TypeWeb server, reverse/mail proxy server
License2-clause BSD
Websitenginx.org

Unlike other server programs, Nginx does not rely on streams (threads) to process the query (request). Instead, Nginx uses event-driven architecture (event-driven) asynchronous (asynchronous) and scalability. Even if you do not need to handle thousands of concurrent queries, then you should still use Nginx by high performance and low memory requirements of Nginx than Apache. Nginx can be used on VPS lowest configuration (as low vps package of digitalocean and vultr) until a huge system like cloud server with multiple clusters.

Currently (June 6/2014), Nginx has 14.6% market share (approximately 142 million web pages) program web servers worldwide (according to Netcraft statistics) and still have a high growth rate. Nginx is currently being used by the web service query with extremely high quality as Netflix, Hulu, Pinterest, CloudFlare, Airbnb, WordPress.com, GitHub, SoundCloud, Zynga, Eventbrite, Zappos, Media Temple, Heroku, RightScale, Engine Yard, MaxCDN, Yandex, Mail.Ru, Vkontakte, Rambler …

The features of Nginx HTTP server

  • Able to handle more than 10,000 simultaneous connections with lower memory
  • Serving static files (static files) and indexed files
  • Accelerate reverse proxy with cache (cache); simple load balancing and fault tolerance
  • Acceleration support with caching of FastCGI, uwsgi, SCGI, and memcached servers
  • Modular architecture; speed up page loading with automatic gzip compression
  • Supports SSL and TLS encryption
  • Flexible configuration; save the query logs
  • Redirection 3XX-5xx error
  • Rewrite URL (URL rewriting) using regular expressions
  • Limit query response rates
  • Limit the number of simultaneous connections or queries from one address
  • The ability to embed PERL
  • Support and compatible with IPv6
  • Support for WebSockets
  • Support FLV and MP4 file transfers

The mail proxy server features of Nginx

  • The authentication method
    • POP3: USER / PASS, APP, AUTH LOGIN / PLAIN / CRAM-MD5;
    • IMAP: LOGIN, AUTH LOGIN / PLAIN / CRAM-MD5;
    • SMTP: AUTH LOGIN / PLAIN / CRAM-MD5;
  • Supports SSL, STARTTLS and STLS