最近更新nginx时,提示the “ssl” directive is deprecated, use the “listen … ssl” directive instead in /etc/nginx/nginx.conf:
该问题是由于新版nginx采用新的方式进行监听https请求了
解决方式
server { listen 443 ; ssl on;
改成如下方式
server { listen 443 ssl ; }
最近更新nginx时,提示the “ssl” directive is deprecated, use the “listen … ssl” directive instead in /etc/nginx/nginx.conf:
该问题是由于新版nginx采用新的方式进行监听https请求了
解决方式
server { listen 443 ; ssl on;
改成如下方式
server { listen 443 ssl ; }