如何查看Nginx的版本

发表于: lnmp | 作者: | 日期: 2016/7/06 05:07
标签:

怎么查看服务器上安装的nginx版本号,主要是通过ngix的-v或-V选项,如下所示:

[root@test sbin]# ./nginx -v
nginx version: nginx/1.8.1
[root@test sbin]# ./nginx -V
nginx version: nginx/1.8.1
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
built with OpenSSL 1.0.2d 9 Jul 2015
TLS SNI support enabled
configure arguments: –user=www –group=www –prefix=/usr/local/nginx –with-http_stub_status_module –with-http_ssl_module –with-openssl=/opt/library/openssl-1.0.2d –add-module=/opt/code/git/nginx_upstream_check_module –add-module=/opt/code/git/nginx-http-concat

参数说明:
-v 显示 nginx 的版本。
-V 显示 nginx 的版本,编译器版本和配置参数。

: https://blog.darkmi.com/2016/07/06/3875.html

本文相关评论 - 1条评论都没有呢
Post a comment now » 本文目前不可评论

No comments yet.

Sorry, the comment form is closed at this time.