-
打开 https://certbot.eff.org/ 选择对应操作系统与 Web 服务器,选完后出现响应的平台说明。由于我的系统运行在 nginx 及 Ubuntu,选完之后出现的说明地址是 https://certbot.eff.org/#ubuntuxenial-nginx
-
执行命令,并根据需要修改相应域名参数。
$ sudo apt-get install letsencrypt
$ letsencrypt certonly --standalone -d dev.nuctech.me
- 修改nginx