Nginx配置网站默认https
一、安装Nginx
yum install nginx -y
二、修改nginx.conf
vim /etc/nginx/nginx.conf
配置80转443
配置https(参考--我这里博客是php项目)
三、启动nginx
systemctl start nginx
2021-11-29 07:11:15
yum install nginx -y
vim /etc/nginx/nginx.conf
systemctl start nginx