用certbot申请https证书
安装certbotyum install epel-releaseyum install snapdsystemctl enable --now snapd.socketln -s /var/lib/snapd/snap /snapsnap install --classic certbot#以上内容借鉴博客https://blog.csdn.net/qq_27346503/article/details/114188857申请证书nginx -s stop #申请之前一定要停掉ngi