Nginx

























































Nginx
Nginx logo.svg
Original author(s) Igor Sysoev
Developer(s) Nginx, Inc.
Initial release 4 October 2004; 14 years ago (2004-10-04)[1]
Stable release 1.14.2[2](4 December 2018; 21 days ago (2018-12-04)) [±]
Preview release 1.15.7 (27 November 2018; 28 days ago (2018-11-27)) [±][3]

Repository
  • github.com/nginx/nginx
Edit this at Wikidata
Written in
C[4]
Operating system
BSD variants, HP-UX, IBM AIX, Linux, macOS, Solaris, Windows,[5] and other *nix flavors[6]
Type
Web server, reverse/mail proxy server
License
2-clause BSD[7]
Website nginx.org

Nginx ( /ˌɛnɪnˈɛks/ EN-jin-EKS[8]) (stylized as NGINX, or nginx) is a web server which can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004.[9] A company of the same name was founded in 2011 to provide support and Nginx plus paid software.[10]


Nginx is free and open-source software, released under the terms of a BSD-like license. A large fraction of web servers use NGINX,[11] often as a load balancer.[12]




Contents






  • 1 Popularity


  • 2 Features


    • 2.1 HTTP proxy and Web server features


    • 2.2 Mail proxy features




  • 3 Nginx vs Nginx Plus


  • 4 Performance vs Apache


  • 5 History


  • 6 See also


  • 7 References


  • 8 External links





Popularity


According to Netcraft's November 2016 Web Server Survey,[13] 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.[14] 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.[15] A 2018 survey of Docker usage found that Nginx was the most commonly deployed technology in Docker containers.[16] Wikipedia uses Nginx as its SSL termination proxy.[17] 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,[18] but it was later replaced by OpenBSD's own httpd(8).[19]



Features


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.[20]


Nginx uses an asynchronous event-driven approach, rather than threads, to handle requests.[21] Nginx's modular event-driven architecture can provide more predictable performance under high loads.[22][23]


Nginx default configuration file is nginx.conf.[24]



HTTP proxy and Web server features



  • Ability to handle more than 10,000 simultaneous connections with a low memory footprint (~2.5 MB per 10k inactive HTTP keep-alive connections)

  • Handling of static files, index files and auto-indexing


  • Reverse proxy with caching


  • Load balancing with in-band health checks[25]


  • TLS/SSL with SNI and OCSP stapling support, via OpenSSL.


  • FastCGI, SCGI, uWSGI support with caching


  • gRPC support since March 2018, version 1.13.10.[26]

  • Name- and IP address-based virtual servers


  • IPv6-compatible


  • WebSockets, HTTP/1.1 Upgrade (101 Switching Protocols)[27], HTTP/2 protocol support


  • URL rewriting and redirection[28][29]



Mail proxy features




  • TLS/SSL support


  • STARTTLS support


  • SMTP, POP3, and IMAP proxy

  • Authentication using an external HTTP server[30]


Other features include upgrading executable and configuration without client connections loss,[31] and a module-based architecture with both core[32] and third-party module support.[33]


The paid Plus product includes additional features such as advanced load balancing and access to an expanded suite of metrics for performance monitoring.[34][35]



Nginx vs Nginx Plus


There are two versions of Nginx, OSS Nginx and Nginx Plus. Nginx Plus offers additional features not included in OSS Nginx, such as Active health checks, session persistence based on cookies, DNS service discovery integration, Cache Purging API, AppDynamic, Datalog, Dynatrace New Relic plug-ins, Active-Active HA with config sync, Key-Value Store, on-the-fly with zero downtime updates upstream configurations and key‑value stores using Nginx Plus API[36] and web application firewall (WAF) dynamic module.[37]



Performance vs Apache


Nginx was written with an explicit goal of outperforming the Apache web server.[38] Out of the box, serving static files, Nginx uses dramatically less memory than Apache, and can handle roughly four times more requests per second. On the other hand, it is known to be less stable on Windows-configured systems whereas Apache has full support.[39][40] 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).[41][42] 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 on February 2016, with the addition of dynamic module loading.[43] However, the modules still must be compiled at the same time as nginx, and not all modules are compatible with this system—some require the older static linking process.[44]



History


































Nginx, Inc.
Type
Private
Industry Technology
Founded 2011
Headquarters
San Francisco, California, U.S.[10]
Key people
Gus Robertson (CEO), Igor Sysoev (CTO)
Products Nginx Web server, Nginx Amplify SaaS, Nginx Controller, Nginx Unix and Nginx Web Application Firewall
Website nginx.com

Igor Sysoev began development of Nginx in 2002.[9] Originally, Nginx was developed to solve the C10k problem, and to fill the needs of websites including Rambler search engine and portal, for which it was serving 500 million requests per day by September 2008.[45]


A company of the same name was founded in July 2011 by Sysoev to provide commercial products and support for the software.[46]


The company's principal place of business is San Francisco, California, while legally incorporated in British Virgin Islands.[10]


In October 2011, Nginx raised $3 million from BV Capital, Runa Capital and MSD Capital, Michael Dell's venture fund.[47]


The company announced commercial support options for companies using Nginx in production.
Nginx offered commercial support in February 2012,[48][49] and paid Nginx Plus subscription in August 2013.[50]


Support packages focus on installation, configuration, performance improvement, etc.[51] Support includes proactive notifications about major changes, security patches, updates and patches.


WordPress developer Automattic Inc. and content delivery network provider MaxCDN became funding partners for an update to Google's SPDY version 3.1, slated for early 2014.[52]


Nginx also offers consulting services to assist customers in custom configuration or adding additional features.[53]


In October 2013, Nginx raised a $10 million series B investment round led by New Enterprise Associates.[54] That round included previous investors, as well as Aaron Levie, CEO and founder of Box.com.[55][56]
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.[57][58]


In October 2017 Nginx Inc. announced general available Nginx Amplify SaaS providing monitoring and analytics capabilities for Nginx.[59]


In September 2017, Nginx announced an API Management tool, NGINX Controller which would build off of their API Gateway, NGINX Plus.[60][61]


In June 2018 Nginx raised $43 Million in Series C Funding in a round led by Goldman Sachs "to Accelerate Application Modernization and Digital Transformation for Enterprises".[62]



See also




  • Comparison of web server software

  • Web accelerator

  • URL redirection § nginx rewrite

  • List of Nginx–MySQL–PHP packages



References





  1. ^ "CHANGES". Retrieved 16 May 2017..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"""""""'""'"}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  2. ^ "NGINX Changelog-1.14". NGINX.


  3. ^ "NGINX Changelog". NGINX.


  4. ^ "The NGINX Open Source Project on Ohloh". ohloh.net. Retrieved 7 March 2013.


  5. ^ "nginx for Windows". Retrieved 28 May 2014.


  6. ^ "Tested OS and platforms". Retrieved 15 October 2011.


  7. ^ "Licensing". Retrieved 18 January 2013.


  8. ^ "Igor Sysoev". sysoev.ru. Retrieved 1 June 2018.


  9. ^ ab Tony Mobily (5 January 2012). "Interview with Igor Sysoev, author of Apache's competitor NGINX". Free Software Magazine. Retrieved 18 October 2013.


  10. ^ abc "Notice of Exempt Offering of Securities". Form D. US Securities and Exchange Commission 17 October 2013. Retrieved 15 September 2016.


  11. ^ "January 2017 Web Server Survey - Netcraft". news.netcraft.com. Retrieved 1 June 2018.


  12. ^ "Use NGINX as a Front-end Proxy and Software Load Balancer". Retrieved 1 June 2018.


  13. ^ "November 2016 Web Server Survey". 22 November 2016. Retrieved 19 December 2016.


  14. ^ "Usage of web servers broken down by ranking". 19 December 2016. Retrieved 19 December 2016.


  15. ^ "Builtwith: nginx Usage Statistics". 19 December 2016. Retrieved 19 December 2016.


  16. ^ "8 surprising facts about real Docker adoption". 13 June 2018. Retrieved 21 June 2018.


  17. ^ "Wikitech: HTTPS". Wikitech.wikimedia.org. 3 October 2011. Retrieved 3 December 2011.


  18. ^ "OpenBSD Upgrade Guide: 5.1 to 5.2". openbsd.org. 6 November 2012.


  19. ^ "Heads Up: Nginx Removed From Base".


  20. ^ "Use NGINX as a Front-end Proxy and Software Load Balancer". Linode Guides & Tutorials. Retrieved 1 June 2018.


  21. ^ "Welcome to NGINX Wiki! - NGINX". nginx.com.


  22. ^ "The Architecture of Open Source Applications (Volume 2): nginx". aosabook.org. Retrieved 10 June 2015.


  23. ^ "How to Configure NGINX". Linode Guides & Tutorials. 8 March 2018.


  24. ^ "Beginner's Guide". nginx.org. Retrieved 1 June 2018.


  25. ^ "Module ngx_http_upstream_module". nginx.org. Retrieved 14 August 2012.


  26. ^ https://www.nginx.com/blog/nginx-1-13-10-grpc/


  27. ^ "Proxy: support for connection upgrade (101 Switching Protocols)". trac.nginx.org. 19 February 2013. Retrieved 21 February 2013.


  28. ^ Murenin, Constantine A. (18 February 2013). "A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!". nginx@nginx.org (Mailing list). Retrieved 24 December 2014.


  29. ^ Murenin, Constantine A. (24 February 2013). "mdoc.su — Short manual page URLs for FreeBSD, OpenBSD, NetBSD and DragonFly BSD". Retrieved 24 December 2014.


  30. ^ "Module ngx_mail_auth_http_module". nginx.org. Retrieved 13 September 2012.


  31. ^ "Official documentation: Controlling nginx". nginx.org. Retrieved 3 December 2011.


  32. ^ "nginx documentation". nginx.org. Retrieved 9 June 2015.


  33. ^ "3rdPartyModules – Nginx Community". wiki.nginx.org. Retrieved 9 June 2015.


  34. ^ "How to monitor NGINX". Datadog. 9 July 2015. Retrieved 9 July 2015.


  35. ^ "Application Load Balancing with NGINX Plus". NGINX. Retrieved 9 July 2015.


  36. ^ "Load balancing with NGINX Plus". Retrieved 1 June 2018.


  37. ^ "NGINX Plus is a software load balancer, web server, and content cache system". Retrieved 1 June 2018.


  38. ^ "NGINX vs. Apache: Our View of a Decade-Old Question". NGINX. 9 October 2015. Retrieved 28 December 2016.


  39. ^ "Choosing Between Apache and NGINX for Your Web Hosting Needs". Hosting Canada.


  40. ^ "Web server performance comparison". DreamHost. Retrieved 28 December 2016.


  41. ^ Jankov, Tonino (13 June 2018). "Apache vs Nginx Performance: Optimization Techniques — SitePoint". SitePoint. Retrieved 22 October 2018.


  42. ^ "Which web server should you use — Apache or NGINX?".


  43. ^ "CHANGES-1.10". nginx.org. 31 January 2017.


  44. ^ "Introducing Dynamic Modules in NGINX 1.9.11 - NGINX". NGINX. 9 February 2016. Retrieved 13 January 2017.


  45. ^ "Nginx: the High-Performance Web Server and Reverse Proxy". Linux Journal. 1 September 2008. Retrieved 16 August 2009.


  46. ^ "Company". nginx.com. 3 January 2012. Retrieved 24 February 2012.


  47. ^ Natasha Starkell (11 October 2011). "Russian Nginx Raises $3 Million From International Investors". Techcrunch. Retrieved 20 November 2014.


  48. ^ Darryl K. Taft (8 February 2012). "NGINX Launches Commercial Support for Open-Source Web Server". e Week. Retrieved 18 October 2013.


  49. ^ Steven J. Vaughan-Nichols (8 February 2012). "Commercial Support now available for the open-source NGINX Web server". ZDNet Open Source blog. Retrieved 18 October 2013.


  50. ^ "Nginx Inc. Launches NGINX Plus". 22 August 2013.


  51. ^ Taft, Darryl K. (8 February 2012). "NGINX Launches Commercial Support for Open-Source Web Server". eweek.com. Retrieved 24 February 2012.


  52. ^ Shankland, Stephen (20 December 2013). "Nginx upgrade funded by fans of Google's SPDY Web protocol". CNET. Retrieved 6 January 2014.


  53. ^ "Commercial Support now available for the open-source NGINX Web server". ZDNet. 8 February 2012. Retrieved 28 February 2012.


  54. ^ Sean Michael Kerner (16 October 2013). "Nginx Raises $10 Million in New Funding for Server Development". e Week. Retrieved 18 October 2013.


  55. ^ Frederic Lardinois (15 October 2013). "Nginx Raises $10M Series B Round Led By NEA". Techcrunch. Retrieved 20 November 2014.


  56. ^ Jolie O'Dell (15 October 2013). "Nginx ties up a sweet $10M funding deal and hundreds of millions of users". Venture Beat. Retrieved 18 October 2013.


  57. ^ Frederic Lardinois (9 December 2014). "Nginx Raises $20M Series B1 Round To Drive International Expansion". Techcrunch. Retrieved 9 December 2014.


  58. ^ Jordan Novet (9 December 2014). "Nginx gets $20M, because an open-source web server is just the beginning". VentureBeat. Retrieved 9 December 2014.


  59. ^ "NGINX Amplify is Generally Available - NGINX". 1 October 2017. Retrieved 4 June 2018.


  60. ^ "NGINX releases its new NGINX Application Platform". SD Times. 6 September 2017. Retrieved 7 November 2018.


  61. ^ "Introducing NGINX API Management: Manage NGINX Plus API Gateways with NGINX Controller - NGINX". NGINX. 9 October 2018. Retrieved 7 November 2018.


  62. ^ "NGINX Raises $43 Million in Series C Funding to Accelerate Application Modernization and Digital Transformation for Enterprises". Retrieved 11 October 2018.




External links



  • Official website Edit this at Wikidata








Popular posts from this blog

Y

Mount Tamalpais

Indian Forest Service