完善acme.sh续签说明
This commit is contained in:
@@ -66,9 +66,9 @@
|
||||
acme.sh --installcert -d nr.woyue.org -d *.nr.woyue.org \
|
||||
--key-file /srv/certbot/conf/live/nr.woyue.org/privkey.pem \
|
||||
--fullchain-file /srv/certbot/conf/live/nr.woyue.org/fullchain.pem \
|
||||
--reloadcmd "docker restart nginx"
|
||||
--reloadcmd "docker restart nginx_server"
|
||||
|
||||
注意,最后的nginxdocker_nginx_1为nginx容器的名称。请根据实际情况修改。**或不加此参数,手动重启nginx**。
|
||||
注意,最后的nginxdocker_nginx_1或nginx_server为nginx容器的名称。请根据实际情况修改。**或不加此参数,手动重启nginx**。
|
||||
|
||||
2. 生成:dhparams文件
|
||||
|
||||
@@ -88,6 +88,8 @@ centos2上的证书强制刷新:
|
||||
|
||||
acme.sh --force --debug --issue --dns dns_ali -d nr.woyue.org -d *.nr.woyue.org
|
||||
|
||||
然后,重启restart nginx的docker 容器:
|
||||
|
||||
docker restart xxx
|
||||
然后,重新执行上述安装指令并重启nginx
|
||||
acme.sh --installcert -d nr.woyue.org -d *.nr.woyue.org \
|
||||
--key-file /srv/certbot/conf/live/nr.woyue.org/privkey.pem \
|
||||
--fullchain-file /srv/certbot/conf/live/nr.woyue.org/fullchain.pem \
|
||||
--reloadcmd "docker restart nginx_server"
|
||||
Reference in New Issue
Block a user