centos 7 + nginx + letsencrypt https

安装编译工具,头文件

yum install gcc gcc-c++ libffi-devel openssl-devel

安装certbot

yum install certbot python2-certbot-nginx

安装证书

certbot --nginx