zoukankan      html  css  js  c++  java
  • 如何查看nginx的版本及配置选项?nginx都配置了哪些的模块?

    需求描述:

      新接手别人的nginx,想要查看当前都配置了哪些模块

    操作过程:

    1.通过nginx -V选项查看nginx的配置选项

    [root@hadoop3 sbin]# ./nginx -V
    nginx version: nginx/1.14.0
    built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) 
    built with OpenSSL 1.0.1e-fips 11 Feb 2013
    TLS SNI support enabled
    configure arguments: --prefix=/opt/app/nginx --user=nginx --group=nginx --sbin-path=/opt/app/nginx/sbin/nginx --conf-path=/opt/app/nginx/conf/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --error-log-path=/opt/app/nginx/log/error.log --http-log-path=/opt/app/nginx/log/access.log --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --with-pcre --with-file-aio --with-http_realip_module --without-http_scgi_module --without-http_uwsgi_module

    备注:通过以上的查询结果,就可以知道nginx的配置选项,配置了哪些的模块

    文档创建时间:2018年4月24日11:23:21

  • 相关阅读:
    Netty的常用概念
    netty学习
    MarkDown思考
    Xshell配置SSH秘钥登录
    Maven中避开测试环节
    Maven文件配置
    机器学习资源
    数学问题-高精度运算
    对局匹配
    发现环
  • 原文地址:https://www.cnblogs.com/chuanzhang053/p/8927088.html
Copyright © 2011-2022 走看看