Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具


Nginx 查看已安装模块

Nginx 大约 245 字

-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
阅读 5851 · 发布于 2020-01-23

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb

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

扫描二维码关注我
昵称:
随便看看 换一批