1.教程
https://www.vpser.net/build/letsencrypt-certbot.html
https://segmentfault.com/a/1190000005797776
http://www.tuicool.com/articles/ZZrAN32
2.官方文檔
https://certbot.eff.org/#centos6-nginx
https://certbot.eff.org/docs/using.html#webroot
還有個坑,網站要開啟允許目錄訪問。