#https# 一、获取ssl证书nginx相关文件(pem、key) 二、打开nginx/conf/nginx.conf文件 找到配置文件中注释的https配置 三、配置 注意防火墙开放443端口 四、重启nginx