To see which module commands are installed:
[[Email protected]-Powercache-X xcache]# Nginx/Sbin/Nginx-V
Nginx Version:nginx/1.2.3
Built by GCC4.4.720120313(Red Hat4.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
To view the Nginx version number command:
[email protected]-powercache-X xcache]# nginx/sbin/nginx -V
Nginx Version:nginx/1.2. 3
Nginx to see which modules are installed