If Nginx does not enable the SSL module, it will prompt an error when configuring HTTPS.
The reason is also very simple. nginx lacks the http_ssl_module module. When compiling and installing, just bring the --with-http_ssl_module configuration. But the current situation is that my nginx has already been installed. How to add the module is actually very simple. See below. : Just a note: My nginx installation directory is the /usr/local/nginx directory, and my source code package is in the /usr/local/src/nginx-1.6.2 directory.
1 |
|
View the original modules of nginx
1 |
|
Then our new configuration information should be written like this:
1 |
|
Just run the above command and wait until the configuration is completed
Then execute make install