HowTo: Find Out Nginx Web Server Version

by on January 21, 2011 · 0 comments· LAST UPDATED November 23, 2012

in

How do I print Nginx web server version using command line option under Unix like operating systems?

Tutorial details
DifficultyEasy (rss)
Root privilegesNo
RequirementsNone
Estimated completion timeN/A

You can pass the -v or -V option to display nginx web server version. The syntax is:

 
nginx -v
 

Sample outputs:

nginx version: nginx/1.2.3

The -V option shows nginx version, compiler version and configure parameters.

 
nginx -V
 

Sample outputs:

nginx version: nginx/1.2.3
built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
TLS SNI support enabled
configure arguments: --without-http_autoindex_module --without-http_userid_module --without-http_auth_basic_module --without-http_fastcgi_module --without-http_empty_gif_module --with-poll_module --with-http_stub_status_module --with-http_ssl_module --with-ipv6 --with-http_geoip_module
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , , , ,

Previous Faq:

Next Faq: