mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-12 19:12:33 +08:00
Updated 说明 (markdown)
2
说明.md
2
说明.md
@@ -118,6 +118,8 @@ acme.sh --installcert -d mydomain.com \
|
||||
--reloadcmd "service nginx force-reload"
|
||||
```
|
||||
|
||||
(一个小提醒, 这里用的是 `service nginx force-reload`, 不是 `service nginx reload`, 据测试, `reload` 并不会重新加载证书, 所以用的 `force-reload`)
|
||||
|
||||
`--installcert`命令可以携带很多参数, 来指定目标文件. 并且可以指定 reloadcmd, 当证书更新以后, reloadcmd会被自动调用,让服务器生效.
|
||||
|
||||
详细参数请参考: https://github.com/Neilpang/acme.sh#3-install-the-issued-cert-to-apachenginx-etc
|
||||
|
||||
Reference in New Issue
Block a user