\u4e09\u3001\u914d\u7f6eHTTPS<\/strong><\/h1>\n\n\n\n1\u3001\u4fee\u6539\u6587\u4ef6\u524d\u5148\u505a\u5907\u4efd<\/p>\n\n\n\n
cp -r\/opt\/yliyun\/openresty\/nginx\/conf\/nginx.conf \/opt\/yliyun\/openresty\/nginx\/conf\/nginx.conf.bak<\/p>\n\n\n\n
2\u3001\u83b7\u53d6SSL\u8bc1\u4e66<\/p>\n\n\n\n
\u83b7\u53d6\u5230SSL\u8bc1\u4e66\u6587\u4ef6\u540e\uff0c\u5c06\u8bc1\u4e66\u6587\u4ef6\u4e2dNginx\u76ee\u5f55\u4e0b\u7684crt\u548ckey\u6587\u4ef6\uff0c\u653e\u81f3\u4e91\u76d8\u670d\u52a1\u5668\u7684\/opt\/yliyun\/openresty\/nginx\/conf\/\u76ee\u5f55\u4e0b\u3002<\/p>\n\n\n\n
3\u3001\u4fee\u6539Nginx \u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n
\u6ce8\u610f\u81ea\u5b9a\u4e49\u7aef\u53e3\u7684\u95ee\u9898<\/p>\n\n\n\n
vi \/opt\/yliyun\/openresty\/nginx\/conf\/nginx.conf<\/p>\n\n\n\n
\u82e5\u5df2\u7ecf\u6709\u6ce8\u91ca\u8fc7\u7684\u914d\u7f6e\u5b58\u5728\uff0c\u53ea\u9700\u8981\u5c06\u6ce8\u91ca\u7b26\u53f7\u53bb\u6389\u5373\u53ef\u3002\u5982\u4e0b\u56fe:<\/p>\n\n\n\n