nginx -v

Category: Self-Hosting

nginx -v

Print the installed Nginx version number

Prints the Nginx version. Knowing the version helps when looking up docs, changelogs, or checking whether a security patch applies to you.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.