February 2018
Beginner to intermediate
348 pages
9h 40m
English
Another switch that might come in handy in many situations is -V. Not only does it tell you the current Nginx build version, but more importantly it also reminds you about the arguments that you used during the configuration step – in other words, the command switches that you passed to the configure script before compilation:
[alex@example.com sbin]$ ./nginx -V nginx version: nginx/1.13.8 (Ubuntu) built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) TLS SNI support enabled configure arguments: --with-http_ssl_module
In this case, Nginx was configured with the --with-http_ssl_module switch only.
Why is this so important? Well, if you ever try to use a module that was not included with the configure script during the precompilation ...
Read now
Unlock full access