nginx -V

Category: Web Servers & Proxies

nginx -V

Show nginx version and compiled build options

Prints the version plus the configure arguments the binary was built with, including enabled modules like --with-http_ssl_module. Useful to check whether a feature was compiled in before relying on it. The lowercase -v form prints only the version number.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.