Opensourcetechブログ

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

nginx mainline 1.17.2 released.

 

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

igore sysoevさんと一緒


先程、nginx mainline の最新バージョン 1.17.2がリリースされました。

f:id:opensourcetech:20190723233001p:plain

https://nginx.org/

 

 

 

 

Changelogs

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

とりあえず、普通に使ってみます。

Changes with nginx 1.17.2 23 Jul 2019

*) Change: minimum supported zlib version is 1.2.0.4. Thanks to Ilya Leoshkevich.
*) Change: the $r->internal_redirect() embedded perl method now expects escaped URIs.
*) Feature: it is now possible to switch to a named location using the $r->internal_redirect() embedded perl method.
*) Bugfix: in error handling in embedded perl.
*) Bugfix: a segmentation fault might occur on start or during reconfiguration if hash bucket size larger than 64 kilobytes was used in the configuration.
*) Bugfix: nginx might hog CPU during unbuffered proxying and when proxying WebSocket connections if the select, poll, or /dev/poll methods were used.
*) Bugfix: in the ngx_http_xslt_filter_module.
*) Bugfix: in the ngx_http_ssi_filter_module.

 

 

Changelogs(日本語訳)

以下、、日本語訳です。

Changes with nginx 1.17.2 23 Jul 2019

*)変更:サポートされているzlibの最小バージョンは1.2.0.4です。 Ilya Leoshkevichに感謝します。
*)変更:$r->internal_redirect() 組み込みperlメソッドは、エスケープされたURIを待ち受けていた。
*)機能追加:$r->internal_redirect() 組み込みperlメソッドを使って名前付きの場所に切り替えることが可能になった。
*)バグ修正:組み込みperlのエラーハンドリングがあった。
*)バグ修正:設定で64キロバイトを超えるハッシュバケットサイズが使用されていると、起動時または再設定中にセグメンテーション違反が発生することがあった。
*)バグ修正:select・poll・または/dev/pollメソッドが使用されている場合、unbuffered proxying 処理中やWebSocket接続のプロキシ処理中にnginxがCPUを占有することがあった。
*)バグ修正:ngx_http_xslt_filter_module。
*)バグ修正:ngx_http_ssi_filter_module。

 

 

サーバのnginxも、アップデートしておきましょう!

[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
[root@localhost ~]# nginx -V
nginx version: nginx/1.17.1
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 ~]# nginx -v
nginx version: nginx/1.17.1

[root@localhost ~]# yum -y update nginx
読み込んだプラグイン:fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 6.4 kB 00:00
* base: ftp.iij.ad.jp
* epel: ftp.jaist.ac.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
base | 3.6 kB 00:00
epel | 5.4 kB 00:00
extras | 3.4 kB 00:00
ius | 1.3 kB 00:00
nginx | 2.9 kB 00:00
pgdg10 | 3.6 kB 00:00
pgdg11 | 3.6 kB 00:00
pgdg94 | 3.6 kB 00:00
pgdg95 | 3.6 kB 00:00
pgdg96 | 3.6 kB 00:00
timescale_timescaledb/x86_64/signature | 833 B 00:00
timescale_timescaledb/x86_64/signature | 1.0 kB 00:00 !!!
unit | 2.9 kB 00:00
updates | 3.4 kB 00:00
zabbix | 2.9 kB 00:00
zabbix-non-supported | 951 B 00:00
(1/10): epel/x86_64/updateinfo | 993 kB 00:00
(2/10): ius/x86_64/primary | 138 kB 00:01
(3/10): epel/x86_64/primary_db | 6.8 MB 00:02
(4/10): nginx/7/x86_64/primary_db | 150 kB 00:02
(5/10): pgdg11/7/x86_64/primary_db | 231 kB 00:02
(6/10): pgdg10/7/x86_64/primary_db | 286 kB 00:02
(7/10): pgdg94/7/x86_64/primary_db | 307 kB 00:02
(8/10): pgdg95/7/x86_64/primary_db | 302 kB 00:02
(9/10): updates/7/x86_64/primary_db | 6.5 MB 00:02
(10/10): pgdg96/7/x86_64/primary_db | 303 kB 00:05
timescale_timescaledb/x86_64/primary | 6.1 kB 00:01
ius 659/659
timescale_timescaledb 51/51
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ nginx.x86_64 1:1.17.1-1.el7.ngx を 更新
---> パッケージ nginx.x86_64 1:1.17.2-1.el7.ngx を アップデート
--> 依存性解決を終了しました。

依存性を解決しました

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

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

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

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

完了しました!

[root@localhost ~]# nginx -V
nginx version: nginx/1.17.2
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 ~]# nginx -v
nginx version: nginx/1.17.2

 

 

 

 

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

 

 

 

 

 

 

www.slideshare.net

github.com

www.facebook.com

twitter.com

www.instagram.com

 

 

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

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

 

 

Opensourcetech by Takahiro Kujirai