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
+13.2k Golang : How to convert a number to words
+7.3k Golang : Tell color name with OpenCV example
+8.2k Golang : What is the default port number for connecting to MySQL/MariaDB database ?
+7.6k Golang: Prevent over writing file with md5 hash
+5.3k PageSpeed : Clear or flush cache on web server
+15.3k Golang :Trim white spaces from a string
+5.2k AWS S3 : Prevent Hotlinking policy
+27.2k Golang : Read, Write(Create) and Delete Cookie example
+11k Golang : Split strings into command line arguments
+9k Golang : Identifying Golang HTTP client request
+11.1k Golang : Save webcamera frames to video file
+7.4k How to show different content from website server when AdBlock is detected?