增加 api.nr.woyue.org的ssl证书刷新命令记录
This commit is contained in:
@@ -81,3 +81,13 @@
|
|||||||
ssl_certificate /etc/letsencrypt/live/nr.woyue.org/fullchain.pem
|
ssl_certificate /etc/letsencrypt/live/nr.woyue.org/fullchain.pem
|
||||||
|
|
||||||
那么,docker mount的路径就应该是:-v /srv/certbot/conf:/etc/letsencrypt
|
那么,docker mount的路径就应该是:-v /srv/certbot/conf:/etc/letsencrypt
|
||||||
|
|
||||||
|
## 应用实例
|
||||||
|
|
||||||
|
centos2上的证书强制刷新:
|
||||||
|
|
||||||
|
acme.sh --force --debug --issue --dns dns_ali -d nr.woyue.org -d *.nr.woyue.org
|
||||||
|
|
||||||
|
然后,重启restart nginx的docker 容器:
|
||||||
|
|
||||||
|
docker restart xxx
|
||||||
Reference in New Issue
Block a user