nginx查看安装了哪些扩展模块参数

查看nginx安装扩展模块参数命令如下:

/usr/local/nginx/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.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: –user=www –group=www –prefix=/usr/local/nginx –with-http_stub_status_module –with-http_ssl_module –with-http_gzip_static_module –with-ipv6 –with-http_sub_module –with-pcre –with-threads –with-http_realip_module

查看版本就用参数小写v

此条目发表在服务器分类目录,贴了标签。将固定链接加入收藏夹。

发表回复