Browse Source
Merge pull request #2129 from the729/fix-qiniu-doc
fix doc of qiniu deploy script
dnsconf
neil
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
deploy/README.md
|
|
@ -349,10 +349,10 @@ $ export QINIU_SK="bar" |
|
|
|
$ acme.sh --deploy -d example.com --deploy-hook qiniu |
|
|
|
``` |
|
|
|
|
|
|
|
假如您部署的证书为泛域名证书,您还需要设置 `QINIU_CDN_DOMAIN` 变量,指定实际需要部署的域名: |
|
|
|
假如您部署的证书为泛域名证书,您还需要设置 `QINIU_CDN_DOMAIN` 变量,指定实际需要部署的域名(请注意泛域名前的点): |
|
|
|
|
|
|
|
```sh |
|
|
|
$ export QINIU_CDN_DOMAIN="cdn.example.com" |
|
|
|
$ export QINIU_CDN_DOMAIN=".cdn.example.com" |
|
|
|
$ acme.sh --deploy -d example.com --deploy-hook qiniu |
|
|
|
``` |
|
|
|
|
|
|
@ -375,10 +375,10 @@ $ acme.sh --deploy -d example.com --deploy-hook qiniu |
|
|
|
|
|
|
|
(Optional), If you are using wildcard certificate, |
|
|
|
you may need export `QINIU_CDN_DOMAIN` to specify which domain |
|
|
|
you want to update: |
|
|
|
you want to update (please note the leading dot): |
|
|
|
|
|
|
|
```sh |
|
|
|
$ export QINIU_CDN_DOMAIN="cdn.example.com" |
|
|
|
$ export QINIU_CDN_DOMAIN=".cdn.example.com" |
|
|
|
$ acme.sh --deploy -d example.com --deploy-hook qiniu |
|
|
|
``` |
|
|
|
|
|
|
|