Opensourcetechブログ

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

nginx mainline 1.17.1 released.

 

こんにちは、LinuCエバンジェリストこと、鯨井貴博@opensourcetechです。

igore sysoevさんと一緒



nginx mainlineの最新バージョン 1.17.1がリリースされました。

nginx.orgのリリース画面

https://nginx.org/

 

 

Changelogs

更新内容は、以下の通り。

Changes with nginx 1.17.1 25 Jun 2019

*) Feature: the "limit_req_dry_run" directive.
*) Feature: when using the "hash" directive inside the "upstream" block an empty hash key now triggers round-robin balancing. Thanks to Niklas Keller.
*) Bugfix: a segmentation fault might occur in a worker process if caching was used along with the "image_filter" directive, and errors with code 415 were redirected with the "error_page" directive; the bug had appeared in 1.11.10.
*) Bugfix: a segmentation fault might occur in a worker process if embedded perl was used; the bug had appeared in 1.7.3.

https://nginx.org/en/CHANGES

 

 

Changelogs(日本語訳)

日本語訳は、以下の通りです。

Changes with nginx 1.17.1 25 Jun 2019

*)機能追加: "limit_req_dry_run"ディレクティブを追加した。
*)機能追加: "upstream"ブロック内で "hash"ディレクティブを使用するとき、空のハッシュキーがラウンドロビンバランシングを引き起こしていました。 Niklas Kellerに感謝します。
*)バグ修正:キャッシュが "image_filter"ディレクティブと一緒に使用され、コード415のエラーが "error_page"ディレクティブでリダイレクトされた場合、ワーカープロセスでセグメンテーション違反が発生することがありました。 このバグは1.11.10で登場しました。
*)バグ修正:組み込みperlが使用されているとワーカープロセスでセグメンテーション違反が発生する可能性がありました。 このバグは1.7.3で登場しました。

 

 

nginxのバージョンアップ

使用しているサーバは、サクッと1.17.1に更新しておきましょう。

[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
[root@localhost ~]# nginx -v
nginx version: nginx/1.17.0
[root@localhost ~]# nginx -V
nginx version: nginx/1.17.0
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie'
[root@localhost ~]# yum -y update nginx
読み込んだプラグイン:fastestmirror
Determining fastest mirrors
.
.
.
nginx | 2.9 kB 00:00
.(5/13): nginx/7/x86_64/primary_db | 147 kB 00:01
.
. |
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ nginx.x86_64 1:1.17.0-1.el7.ngx を 更新
---> パッケージ nginx.x86_64 1:1.17.1-1.el7.ngx を アップデート
--> 依存性解決を終了しました。

依存性を解決しました

================================================================================
Package アーキテクチャー
バージョン リポジトリー 容量
================================================================================
更新します:
nginx x86_64 1:1.17.1-1.el7.ngx nginx 767 k

トランザクションの要約
================================================================================
更新 1 パッケージ

総ダウンロード容量: 767 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
nginx-1.17.1-1.el7.ngx.x86_64.rpm | 767 kB 00:17
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
更新します : 1:nginx-1.17.1-1.el7.ngx.x86_64 1/2
整理中 : 1:nginx-1.17.0-1.el7.ngx.x86_64 2/2
検証中 : 1:nginx-1.17.1-1.el7.ngx.x86_64 1/2
検証中 : 1:nginx-1.17.0-1.el7.ngx.x86_64 2/2

更新:
nginx.x86_64 1:1.17.1-1.el7.ngx

完了しました!
[root@localhost ~]# nginx -v
nginx version: nginx/1.17.1

 

 

アフィリエイトのアクセストレード

 

 

 

 

 

 

www.slideshare.net

github.com

www.facebook.com

twitter.com

www.instagram.com

 

 

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

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

 

 

Opensourcetech by Takahiro Kujirai