关于nginx:Nginx配置网站默认https

Nginx配置网站默认https

一、装置Nginx

yum install nginx -y

二、批改nginx.conf

vim /etc/nginx/nginx.conf

配置80转443

配置https(参考–我这里博客是php我的项目)

三、启动nginx

systemctl start nginx

四、成果

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理