Command
nginx -v
Explanation
Displays the installed version of Nginx.
Examples
Show version only
nginx -v
Show version with configure arguments
nginx -V
nginx -v
Displays the installed version of Nginx.
Show version only
nginx -v
Show version with configure arguments
nginx -V