how to use qiniu deploy hook

master
ucando 2020-03-28 16:41:43 +08:00
parent be02a4ca13
commit 5caf244cc5
1 changed files with 14 additions and 0 deletions

@ -367,6 +367,13 @@ $ export QINIU_CDN_DOMAIN=".cdn.example.com"
$ acme.sh --deploy -d example.com --deploy-hook qiniu $ acme.sh --deploy -d example.com --deploy-hook qiniu
``` ```
假如需要部署多个域名, 使用空格将域名分隔开来:
```sh
$ export QINIU_CDN_DOMAIN="cdn1.example.com cdn2.example.com"
$ acme.sh --deploy -d example.com --deploy-hook qiniu
```
### English version ### English version
You should create AccessKey/SecretKey pair in https://portal.qiniu.com/user/key You should create AccessKey/SecretKey pair in https://portal.qiniu.com/user/key
@ -393,6 +400,13 @@ $ export QINIU_CDN_DOMAIN=".cdn.example.com"
$ acme.sh --deploy -d example.com --deploy-hook qiniu $ acme.sh --deploy -d example.com --deploy-hook qiniu
``` ```
If you want to deploy more than one domain, just use space to splite them:
```sh
$ export QINIU_CDN_DOMAIN="cdn1.example.com cdn2.example.com"
$ acme.sh --deploy -d example.com --deploy-hook qiniu
```
## 14. Deploy your cert on MyDevil.net ## 14. Deploy your cert on MyDevil.net
Once you have acme.sh installed and certificate issued (see info in [DNS API](https://github.com/Neilpang/acme.sh/wiki/dnsapi#66-use-mydevilnet)), you can install it by following command: Once you have acme.sh installed and certificate issued (see info in [DNS API](https://github.com/Neilpang/acme.sh/wiki/dnsapi#66-use-mydevilnet)), you can install it by following command: