nginx报错: nginx: [emerg] unknown directive "ssl_cesltificate" in /usr/local/nginx/conf/nginx.conf:101

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/dataiyangu/article/details/100138294
nginx: [emerg] unknown directive "ssl_cesltificate" in /usr/local/nginx/conf/nginx.conf:101
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed

General error are unknown directive "ssl", rather than the unknown directive "ssl_cesltificate"
If it is unknown directive "ssl" correct this wrong practice is to install the module.

Here is the misconfigured because of my location, I would delete the wrong location off to return to normal, so the reported error is not real.

Guess you like

Origin blog.csdn.net/dataiyangu/article/details/100138294