原文:nginx:[warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead

,nginx重啟報錯 warn the ssl directive is deprecated, use the listen ... ssl directive instead 如圖: vim nginx.conf :set nu ,查看配置文件 , 行錯誤,所以我把寫法改成listen ssl 如圖: usr local nginx sbin nginx s reload重啟 正常 ...

2020-04-23 14:59 0 1872 推薦指數:

查看詳情

nginx:[emerg]unknown directive "ssl"

nginx: [emerg] unknown directive "ssl" in /usr/local/nginx/conf/nginx.conf:102 到解壓的nginx目錄下 ./configure --with-http_ssl_module 當執行上面語句,出現 ...

Thu Mar 14 06:50:00 CST 2019 0 1225
nginx:[emerg]unknown directive "ssl"

在centos中,配置nginx的https時,出現如下錯誤。 nginx: [emerg] unknown directive "ssl" in /usr/local/nginx/conf/nginx.conf:102 ...

Wed Jan 16 23:19:00 CST 2019 0 592
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM