Nginx配置网站默认https
Nginx配置网站默认https
一、安装Nginx
yum install nginx -y
二、修改nginx.conf
vim /etc/nginx/nginx.conf
配置80转443
配置https(参考--我这里博客是php项目)
三、启动nginx
systemctl start nginx
四、效果
原文:https://blog.51cto.com/u_14799880/2820789
yum install nginx -y
vim /etc/nginx/nginx.conf
systemctl start nginx
原文:https://blog.51cto.com/u_14799880/2820789