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
+19.1k Golang : Padding data for encryption and un-padding data for decryption
+5.4k Golang : Intercept, inject and replay HTTP traffics from web server
+5.9k Golang : List all packages and search for certain package
+14.1k Golang : concatenate(combine) strings
+12.8k Golang : Sort and reverse sort a slice of bytes
+4.8k MariaDB/MySQL : Form select statement or search query with Chinese characters
+8.1k Golang : Handle Palindrome string with case sensitivity and unicode
+11.6k Golang : Handle API query by curl with Gorilla Queries example
+7.8k Gogland : Where to put source code files in package directory for rookie
+10.3k Golang : Check a web page existence with HEAD request example
+24.6k Golang : Change file read or write permission example