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

0次阅读

共计 146 个字符,预计需要花费 1 分钟才能阅读完成。

Nginx 配置网站默认 https

一、装置 Nginx

yum install nginx -y

二、批改 nginx.conf

vim /etc/nginx/nginx.conf

配置 80 转 443

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

三、启动 nginx

systemctl start nginx

四、成果

正文完
 0