Nginx

nginx(「エンジンエックス」[2][注釈 1])は、フリーでオープンソースなWebサーバアプリケーションである。…

Nginx
nginx
 ウィキデータを編集
nginx の公式ロゴマーク
作者 Igor Sysoev
開発元 Nginx Inc.
初版 2004年10月4日 (21年前) (2004-10-04)
最新版
ウィキデータを編集
安定版
1.31.4[1] / 2026年8月19日 (6日前)
リポジトリ ウィキデータを編集
プログラミング
言語
C言語
対応OS Unix系Microsoft Windows
種別 Webサーバリバースプロキシ、APサーバー
ライセンス BSDライク
公式サイト nginx.org, Nginx Inc.
テンプレートを表示

nginx(「エンジンエックス」[2][注釈 1])は、フリーでオープンソースWebサーバアプリケーションである。処理性能・高い並行性・少ないメモリ使用量を焦点に開発し、HTTP, HTTPS, SMTP, POP3, IMAPリバースプロキシの機能や、ロードバランサ、HTTPキャッシュなどの機能も有する。

nginx はBSDライクライセンスでリリースされ、Linux, BSD系OS, macOS, Solaris, AIX, HP-UX, Microsoft Windowsで動作する。2004年に Igor Sysoev が公開した。現在は NGINX Plus として nginx のエンタープライズ版の販売やサポートを行っている Nginx, Inc. が管理している。

2019年3月に Nginx, Inc はF5ネットワークスに6億7000万米ドルで買収された。

概要

nginxはサーバに置かれた静的コンテンツを高速に配信する目的で設計されている。リバースプロキシの機能を持つため、背後にWebアプリケーションサーバを配置して動的なコンテンツを配信したり、ソフトウェアロードバランサ[3]やHTTPキャッシュとしても使うこともできる。各種のウェブアプリケーション用インターフェースとして、FastCGI, uWSGI英語版, Phusion Passengerなども標準でサポートしている。

Apache HTTP Serverがリクエストの処理にデフォルトでスレッドプロセス指向のアプローチを用いている一方で、nginxは非同期英語版イベント駆動アプローチを用いている。イベント駆動によるアプローチは、高負荷下において、より予測可能なパフォーマンスを提供すると考えられている[4]

利用状況

nginxは当初、Ramblerが運営する各種ウェブサイトのニーズを満たすために開発された。2008年9月の時点で、nginxはこれらのサイトで1日に5億のリクエストを処理していた[5]

ネットクラフト英語版の2017年2月の調査によると、nginxは全アクティブサイトの中で2番目に多く19.60%で使われているWebサーバである[6]。W3Techsの調査によると、上位1,000サイトの41.1%、上位100,000サイトの32.9%で使われている。BuiltWithによると、上位1万Webサイトの23.8%で使われており、上位1万・10万・100万の区分で成長を続けている。2020年2月におけるNetcraftの調査によると、nginxは全てのアクティヴなWebサイトの36.48%において利用されているWebサーバで、Apacheでの利用率24.51%を上回る1位となっている[7]W3Techの調査では、それぞれ40.1%, 31.8%である[8]

Wikipediaは、SSL接続を提供するためのプロキシとしてnginxを使用している[9]

機能と特徴

ネットワーク機能

主な基本HTTP機能

メールプロキシ機能

その他の機能

  • 動作中にコネクションロスなく実行ファイルの更新および設定の変更ができる[10]
  • モジュールベースのアーキテクチャ[11]

FreeNGINX

2024年にコア開発者の一人がF5ネットワークスと対立して独立し、NGINXから離れて新たにフォーク版である「freenginx」を開発すると発表した[12]

関連項目

脚注

注釈

  1. ^ 日本NGINXサイトに「エンジンエックス」と表記あり。https://www.nginx.co.jp/

出典

  1. ^ Release 1.31.4” (2026年8月19日). 2026年8月20日閲覧。
  2. ^ nginx”. 2014年9月17日閲覧。
  3. ^ Use Nginx for Proxy Services and Software Load Balancing, May 11th, 2010, by Sam Kleinman, Linode Library
  4. ^ Basic Nginx Configuration by Sam Kleinman; August 21, 2010.
  5. ^ Nginx: the High-Performance Web Server and Reverse Proxy”. Linux Journal (2008年9月1日). 2009年8月16日閲覧。
  6. ^ February 2017 Web Server Survey” (英語). Netcraft (2017年2月27日). 2017年2月7日時点のオリジナルよりアーカイブ。2017年3月18日閲覧。
  7. ^ Netcraft February 2020 Web Server Survey”. Netcraft. Netcraft. 2019年8月16日閲覧。
  8. ^ Usage Statistics and Market Share of Web Servers, March 2020”. w3techs.com. 2020年3月4日閲覧。
  9. ^ Wikitech: HTTPS”. Wikitech.wikimedia.org (2011年10月3日). 2014年3月26日時点のオリジナルよりアーカイブ。2011年12月3日閲覧。
  10. ^ Official documentation: Controlling nginx”. Nginx.org. 2011年12月3日閲覧。
  11. ^ Third party modules”. Nginx Wiki. 2012年9月13日閲覧。
  12. ^ NGINXのコア開発者が親会社と決別、新たに「freenginx」という名前でフォーク版を作成開始”. GIGAZINE. 2024年2月27日閲覧。

外部リンク

freenginx

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.