高性能 Web 服務器,Nginx 1.9.6 發布

jopen 9年前發布 | 8K 次閱讀 Nginx

Nginx 1.9.6 發布,具體更新信息如下:

  •     *) Bugfix: a segmentation fault might occur in a worker process when
           using HTTP/2.
           Thanks to Piotr Sikora and Denis Andzakovic.

  •     *) Bugfix: the $server_protocol variable was empty when using HTTP/2.

  •     *) Bugfix: backend SSL connections in the stream module might be timed
           out unexpectedly.

  •     *) Bugfix: a segmentation fault might occur in a worker process if
           different ssl_session_cache settings were used in different virtual
           servers.

  •     *) Bugfix: nginx/Windows could not be built with MinGW gcc; the bug had
           appeared in 1.9.4.
           Thanks to Kouhei Sutou.

  •     *) Bugfix: time was not updated when the timer_resolution directive was
           used on Windows.

  •     *) Miscellaneous minor fixes and improvements.
           Thanks to Markus Linnala, Kurtis Nusbaum and Piotr Sikora.

詳細信息請查看:http://nginx.org/en/download.html

Nginx(發音同engine x)是一款由俄羅斯程序員Igor Sysoev所開發輕量級的網頁服務器、反向代理服務器以及電子郵件(IMAP/POP3)代理服務器。起初是供俄國大型的門戶網站及搜索引擎 Rambler(俄語:Рамблер)使用。此軟件BSD-like協議下發行,可以在UNIX、GNU/Linux、BSD、Mac OS X、Solaris,以及Microsoft Windows等操作系統中運行。

Nginx相較于Apache、lighttpd具有占有內存少,穩定性高等優勢,并且依靠并發能力強,豐富的模塊庫以及友好靈活的配置而聞名。 在Linux操作系統下,nginx使用epoll事件模型,得益于此,nginx在Linux操作系統下效率相當高。同時Nginx在OpenBSD或 FreeBSD操作系統上采用類似于epoll的高效事件模型kqueue。

目前使用FastCGI+Nginx運行PHP應用時如果配置文件設置不合理,并不是十分可靠。建議使用NAMP架構(Nginx+Apache+Mysql+PHP),即使用Nginx處理靜態請求,并將動態請求反向代理給Apache處理。目前中國大陸使用 nginx網站用戶有:新浪、網易、 騰訊,另外知名的微網志Plurk也使用nginx。


 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!