Opensourcetechブログ

OpensourcetechによるNGINX/Kubernetes/Zabbix/Neo4j/Linuxなどオープンソース技術に関するブログです。

Nginx 1.9.5 (mainline) リリース!!

こんにちは、鯨井貴博@opensourcetechです。

 

9/22にNginxのmainline最新バージョンである1.9.5がリリースされました。

http://nginx.org/

f:id:opensourcetech:20150924102229p:plain

 

 変更履歴は以下となります。

ngx_http_spdy_moduleが、ngx_http_v2_moduleへと変更されており、

その他は、バグフィックスや変更となります。

http://nginx.org/en/CHANGES

Changes with nginx 1.9.5                                         22 Sep 2015

    *) Feature: the ngx_http_v2_module (replaces ngx_http_spdy_module).
       Thanks to Dropbox and Automattic for sponsoring this work.

    *) Change: now the "output_buffers" directive uses two buffers by
       default.

    *) Change: now nginx limits subrequests recursion, not simultaneous
       subrequests.

    *) Change: now nginx checks the whole cache key when returning a
       response from cache.
       Thanks to Gena Makhomed and Sergey Brester.

    *) Bugfix: "header already sent" alerts might appear in logs when using
       cache; the bug had appeared in 1.7.5.

    *) Bugfix: "writev() failed (4: Interrupted system call)" errors might
       appear in logs when using CephFS and the "timer_resolution" directive
       on Linux.

    *) Bugfix: in invalid configurations handling.
       Thanks to Markus Linnala.

    *) Bugfix: a segmentation fault occurred in a worker process if the
       "sub_filter" directive was used at http level; the bug had appeared
       in 1.9.4.

 

 

ngx_http_v2_moduleを使用する場合ですが、

Nginxサイトのサンプルに記載されているように、

--with-http_v2_module でモジュールを有効化し、

listenディレクティブにhttp2を指定する必要があります。

server {
    listen 443 ssl http2;

    ssl_certificate server.crt;
    ssl_certificate_key server.key;
}

http://nginx.org/en/docs/http/ngx_http_v2_module.html

www.nginx.com

 

 

にほんブログ村 IT技術ブログ Linuxへ
Linux

にほんブログ村 IT技術ブログ オープンソースへ
オープンソース

 

 

Opensourcetech by Takahiro Kujirai