nginx: [emerg] unknown directive "ssl"
Purchased SSL certs and wanted to install SSL for nginx/CentOS Droplets today but encountered this error message instead :
nginx: [emerg] unknown directive "ssl"
Apparently, the nginx version that I used has no SSL module. To fix the error, recompile Nginx with the --with-http_ssl_module
option.
The option will only worked if OpenSSL is installed.
See also : Nginx + FastCGI + Go Setup.
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+11.6k Golang : Surveillance with web camera and OpenCV
+13.6k Golang : Query string with space symbol %20 in between
+11.1k Golang : Generate random elements without repetition or duplicate
+28.6k Golang : Change a file last modified date and time
+11.9k Golang : Convert(cast) bigint to string
+18k Golang : Get all upper case or lower case characters from string example
+5.3k Python : Convert(cast) string to bytes example
+19.3k Golang : Calculate entire request body length during run time
+8.3k Swift : Convert (cast) Character to Integer?
+8.2k Golang : Check from web if Go application is running or not
+18.6k Golang : Set, Get and List environment variables
+10.4k Golang : cannot assign type int to value (type uint8) in range error