2 前提条件 域名要解析到服务器ip上去 ubuntu16.04 安装Nginx 非常简单,因为需要喜欢内容所以装的是full版本 sudo apt update -y sudo apt install nginx-full -y 安装好之后配置好反向代理 ssl证书 我使用的是 certbot 自动获取的 Let’s Encrypt 证书 安装 certbot sudo apt-get update -y sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get update -y sudo apt-get install python-certbot-nginx -y 使用 sudo certbot --nginx Let’s Encrypt 证书 有效期很短 但是certbot可以一……

Continue reading