给服务器配置https
前言本文主要说如何配置https开发环境:macOS服务器系统:Ubuntu ssh连上服务器,按以下命令安装证书 12345678sudo apt-get install python-software-properties sudo apt-get install software-properties-common sudo sudo add-apt-repository ppa:certbot/certbot sudo sudo apt-get update sudo sudo apt-get install certbot #关掉nginxsudo nginx -s stop #关不掉就用killall nginx sudo certbot certonly --standalone -d www.ouyanting.com #注意这里是你的域名 配置nginx 12345678910111213141516171819202122232425# 下面的域名请自行更换为自己的域名server { listen 80; server_name...