Nginx 查看已安装模块

Nginx About 245 words

-V

只能看到编译时指定的模块。

nginx -V

auto/options

Nginx安装目录中的auto目录下的options含有编译时指定的模块,可查看。

cat auto/options | grep YES --color

strings 二进制文件

使用strings查看Nginx可执行文件中包含的信息。

strings /usr/local/nginx/sbin/nginx | grep _module | grep -v configure | sort | uniq
Views: 6,823 · Posted: 2020-01-23

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh