第一步:申请证书
certbot -d lihongpeng.xyz -d *.lihongpeng.xyz –manual –config-dir config –work-dir work –logs-dir logs –preferred-challenges dns certonly
第二步:添加解析记录到云解析DNS

第三步:重启Nginx服务
sudo systemctl restart nginx
第一步:申请证书
certbot -d lihongpeng.xyz -d *.lihongpeng.xyz –manual –config-dir config –work-dir work –logs-dir logs –preferred-challenges dns certonly
第二步:添加解析记录到云解析DNS

第三步:重启Nginx服务
sudo systemctl restart nginx