nginx 配置https
update: 2018-08-20
已支持泛域名申请:https://certbot.eff.org/
Trying to get a wildcard certificate? Please use the dropdown menus below to get instructions specific to your system, and read those instructions carefully.
1 | $ sudo apt-get update |
1 | $ service nginx stop |
安装参考:https://www.cnblogs.com/SzeCheng/p/8075799.html
证书三个月需要续签一次,使用crontab
每个月检查一次,自动续期0 0 1 * * certbot renew -q --pre-hook "service nginx stop" --post-hook "service nginx start"
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 yinxianwei!
评论