用 certbot 自动续期,一开始老失败,记录下原因:
ntpdate
最后加了条 --deploy-hook "systemctl reload nginx",世界清净了。
--deploy-hook "systemctl reload nginx"
这波操作可以,学到了。