当前位置 主页 > 服务器问题 > nginx问题汇总 >

    nginx怎么查看安装了哪些模块?

    栏目:nginx问题汇总 时间:2019-07-23 09:58


    查看安装了哪些模块命令:
      [root@RG-PowerCache-X xcache]# nginx/sbin/nginx -V
      nginx version: nginx/1.2.3
      built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
      TLS SNI support enabled
      configure arguments: --prefix=/opt/xcache/nginx --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_flv_module --with-http_mp4_module --without-http_ssi_module --without-http_userid_module --without-http_auth_basic_module --without-http_autoindex_module --without-http_geo_module --without-http_map_module --without-http_map_module --without-http_memcached_module --without-http_referer_module --without-http_empty_gif_module --without-http_browser_module --with-http_secure_link_module --with-sha1=auto/lib/sha1 --http-client-body-temp-path=/opt/xcache/nginx/tmp/client_body --http-proxy-temp-path=/opt/xcache/nginx/tmp/proxy --http-fastcgi-temp-path=/opt/xcache/nginx/tmp/fastcgi --http-uwsgi-temp-path=/opt/xcache/nginx/tmp/uwsgi --http-scgi-temp-path=/opt/xcache/nginx/tmp/scgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --with-cc-opt='-O2 -g' --add-module=./src/nginx-accesskey-2.0.3
    查看nginx 版本号命令:
      [root@RG-PowerCache-X xcache]# nginx/sbin/nginx -v
      nginx version: nginx/1.2.3