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
+14.6k Golang : Execute function at intervals or after some delay
+37.7k Golang : Comparing date or timestamp
+35.6k Golang : Smarter Error Handling with strings.Contains()
+8.5k PHP : How to parse ElasticSearch JSON ?
+14.8k Golang : Adding XML attributes to xml data or use attribute to differentiate a common tag name
+8.9k Golang : HTTP Routing with Goji example
+4.8k Facebook : How to place save to Facebook button on your website
+30.9k Golang : Interpolating or substituting variables in string examples
+15.7k Golang : Get checkbox or extract multipart form data value example
+6.3k Golang : Process non-XML/JSON formatted ASCII text file example
+7.4k Golang : Convert source code to assembly language
+6.3k Javascript : Generate random key with specific length