||4 October 2004
||1.12.1 (11 July 2017 )
||1.13.3 (11 July 2017 )
||BSD variants, HP-UX, IBM AIX, Linux, macOS, Solaris, Windows, and other *nix flavors
||Web server, reverse/mail proxy server
Nginx ( EN-jin-EKS), stylized as (NGINX, NGi?X or nginx), is a web server, which can also be used as a reverse proxy, load balancer and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004. A company of the same name was founded in 2011 to provide support.
Nginx is free and open source software, released under the terms of a BSD-like license. A large fraction of web servers use NGINX, often as a load balancer.
Nginx can be deployed to serve dynamic HTTP content on the network using FastCGI, SCGI handlers for scripts, WSGI application servers or Phusion Passenger modules, and it can serve as a software load balancer.
Nginx uses an asynchronous event-driven approach to handling requests. Nginx's modular event-driven architecture can provide more predictable performance under high loads.
According to Netcraft's November 2016 Web Server Survey, Nginx was found to be the second most widely used web server across all "active" sites (18.22% of surveyed sites) and for the top million busiest sites (27.83% of surveyed sites). According to W3Techs, it was used by 37.7% of the top 1 million websites, 49.7% of the top 100,000 websites, and by 57.0% of the top 10,000 websites. According to BuiltWith, it is used on 38.2% of the top 10,000 websites, and its growth within the top 10k, 100k and 1 million segments increased. Wikipedia uses Nginx as its SSL termination proxy. As of OpenBSD release 5.2 (1 November 2012), Nginx became part of the OpenBSD base system, providing an alternative to the system's fork of Apache 1.3, which it was intended to replace, but it was later replaced by OpenBSD's own httpd(8).
HTTP proxy and Web server features
Mail proxy features
Other features include upgrading executable and configuration without client connections loss, and a module-based architecture with both core and third-party module support.
The paid Plus product includes additional features such as advanced load balancing and access to an expanded suite of metrics for performance monitoring.
Performance vs Apache
Nginx was written with an explicit goal of outperforming the Apache web server. Out of the box, serving static files, Nginx uses dramatically less memory than Apache, and can handle roughly four times more requests per second. This performance boost comes at a cost of decreased flexibility, such as the ability to override systemwide access settings on a per-file basis (Apache accomplishes this with an .htaccess file, while Nginx has no such feature built in). Formerly, adding third party modules to nginx required recompiling the application from source with the modules statically linked. This was partially overcome in version 1.9.11 with the addition of dynamic module loading. However, the modules still must be compiled at the same time as nginx, and not all modules are compatible with this system; those require the older static linking process.
Igor Sysoev began development of Nginx in 2002. Originally, Nginx was developed to solve the C10K Problem, and to fill the needs of websites including Rambler, for which it was serving 500 million requests per day by September 2008.
A company of the same name was founded in July 2011 by Sysoev to provide commercial products and support for the software.
The company's principal place of business is San Francisco, California, while legally incorporated in British Virgin Islands.
In October 2011, Nginx raised $3 million from BV Capital, Runa Capital and MSD Capital, Michael Dell's venture fund.
The company announced commercial support options for companies using Nginx in production. Nginx offered commercial support in February 2012, and paid Nginx Plus subscription in August 2013.
Support packages focus on installation, configuration, performance improvement, etc. Support includes proactive notifications about major changes, security patches, updates and patches.
WordPress developer Automattic and content delivery network provider MaxCDN became funding partners for an update to Google's SPDY version 3.1, slated for early 2014.
Nginx also offers consulting services to assist customers in custom configuration or adding additional features.
In October 2013, Nginx raised a $10 million series B investment round led by New Enterprise Associates. That round included previous investors, as well as Aaron Levie, CEO and founder of Box.com. In December 2014, Nginx raised a $20 million series B1 round led by New Enterprise Associates, with participation from e.ventures (formerly BV Capital), Runa Capital, Index Ventures and Nginx's own CEO Gus Robertson.
- ^ "CHANGES". Retrieved 2017.
- ^ Dounin, Maxim (11 July 2017). "nginx-1.12.1". nginx-announce (Mailing list). Retrieved 2017.
- ^ Dounin, Maxim (11 July 2017). "nginx-1.13.3". nginx-announce (Mailing list). Retrieved 2017.
- ^ "The NGINX Open Source Project on Ohloh". ohloh.net. Retrieved 2013.
- ^ "nginx for Windows". Retrieved 2014.
- ^ "Tested OS and platforms". Retrieved 2011.
- ^ "Licensing". Retrieved 2013.
- ^ a b Tony Mobily (5 January 2012). "Interview with Igor Sysoev, author of Apache's competitor NGINX". Free Software Magazine. Retrieved 2013.
- ^ a b "Notice of Exempt Offering of Securities". Form D. US Securities and Exchange Commission 17 October 2013. Retrieved 2016.
- ^ https://news.netcraft.com/archives/2017/01/12/january-2017-web-server-survey.html
- ^ https://www.linode.com/docs/uptime/loadbalancing/use-nginx-as-a-front-end-proxy-and-software-load-balancer
- ^ Use nginx for Proxy Services and Software Load Balancing, 11 May 2010, by Sam Kleinman, Linode Library
- ^ "The Architecture of Open Source Applications (Volume 2): nginx". aosabook.org. Retrieved 2015.
- ^ Basic nginx Configuration by Sam Kleinman; 21 August 2010
- ^ "November 2016 Web Server Survey". 22 November 2016. Retrieved 2016.
- ^ "Usage of web servers broken down by ranking". 19 December 2016. Retrieved 2016.
- ^ "Builtwith: nginx Usage Statistics". 19 December 2016. Retrieved 2016.
- ^ "Wikitech: HTTPS". Wikitech.wikimedia.org. 3 October 2011. Retrieved 2011.
- ^ OpenBSD Upgrade Guide: 5.1 to 5.2, 2012/11/06 15:00:27 sthen
- ^ "Heads Up: Nginx Removed From Base".
- ^ "Module ngx_http_upstream_module". nginx.org. Retrieved 2012.
- ^ "Proxy: support for connection upgrade (101 Switching Protocols).". trac.nginx.org. 19 February 2013. Retrieved 2013.
- ^ "Module ngx_mail_auth_http_module". nginx.org. Retrieved 2012.
- ^ "Official documentation: Controlling nginx". nginx.org. Retrieved 2011.
- ^ "nginx documentation". nginx.org. Retrieved 2015.
- ^ "3rdPartyModules -- Nginx Community". wiki.nginx.org. Retrieved 2015.
- ^ "How to monitor NGINX". Datadog. 9 July 2015. Retrieved 2015.
- ^ "Application Load Balancing with NGINX Plus". NGINX. Retrieved 2015.
- ^ "NGINX vs. Apache: Our View of a Decade-Old Question". NGINX. 9 October 2015. Retrieved 2016.
- ^ "Web server performance comparison". DreamHost. Retrieved 2016.
- ^ "NGINX vs. Apache (Pro/Con Review, Uses, & Hosting for Each) - HostingAdvice.com". HostingAdvice.com. 5 April 2016. Retrieved 2016.
- ^ "Introducing Dynamic Modules in NGINX 1.9.11 - NGINX". NGINX. 2016-02-09. Retrieved .
- ^ "Choosing Your Web Server: Apache Vs. Nginx". Eyerys. 7 December 2016. Retrieved 2016.
- ^ "Nginx: the High-Performance Web Server and Reverse Proxy". Linux Journal. 1 September 2008. Retrieved 2009.
- ^ "Company". nginx.com. 3 January 2012. Retrieved 2012.
- ^ Natasha Starkell (11 October 2011). "Russian Nginx Raises $3 Million From International Investors". Techcrunch. Retrieved 2014.
- ^ Darryl K. Taft (8 February 2012). "NGINX Launches Commercial Support for Open-Source Web Server". e Week. Retrieved 2013.
- ^ Steven J. Vaughan-Nichols (8 February 2012). "Commercial Support now available for the open-source NGINX Web server". ZDNet Open Source blog. Retrieved 2013.
- ^ "Nginx Inc. Launches NGINX Plus". 22 August 2013.
- ^ Taft, Darryl K. (8 February 2012). "NGINX Launches Commercial Support for Open-Source Web Server". eweek.com. Retrieved 2012.
- ^ Shankland, Stephen (20 December 2013). "Nginx upgrade funded by fans of Google's SPDY Web protocol". CNET. Retrieved 2014.
- ^ "Commercial Support now available for the open-source NGINX Web server". ZDNet. 8 February 2012. Retrieved 2012.
- ^ Sean Michael Kerner (16 October 2013). "Nginx Raises $10 Million in New Funding for Server Development". e Week. Retrieved 2013.
- ^ Frederic Lardinois (15 October 2013). "Nginx Raises $10M Series B Round Led By NEA". Techcrunch. Retrieved 2014.
- ^ Jolie O'Dell (15 October 2013). "Nginx ties up a sweet $10M funding deal and hundreds of millions of users". Venture Beat. Retrieved 2013.
- ^ Frederic Lardinois (9 December 2014). "Nginx Raises $20M Series B1 Round To Drive International Expansion". Techcrunch. Retrieved 2014.
- ^ Jordan Novet (9 December 2014). "Nginx gets $20M, because an open-source web server is just the beginning". VentureBeat. Retrieved 2014.