腾讯云nginx配置https

给腾讯nginx服务器配置https,
之前申请https配置后直接给node配置了,还没有用nginx。
按照 https://cloud.tencent.com/document/product/400/35244#step7 这篇教程走完,有报错:'unknown directive "ssl"'
没有ssl模块,cd 到nginx的安装路径,./configure --with-http_ssl_module之后 make OK 之后再次nginx -t 检测成功重启nginx 然后https可以访问.

原文地址:https://www.cnblogs.com/aloneCode/p/11277723.html