Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
22e7b4c9
Commit
22e7b4c9
authored
Feb 28, 2019
by
tianji
Browse files
fix doc of qiniu deploy script
A leading dot should be included when updating wildcard domains.
parent
81f0189d
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/README.md
View file @
22e7b4c9
...
@@ -349,10 +349,10 @@ $ export QINIU_SK="bar"
...
@@ -349,10 +349,10 @@ $ export QINIU_SK="bar"
$
acme.sh
--deploy
-d
example.com
--deploy-hook
qiniu
$
acme.sh
--deploy
-d
example.com
--deploy-hook
qiniu
```
```
假如您部署的证书为泛域名证书,您还需要设置
`QINIU_CDN_DOMAIN`
变量,指定实际需要部署的域名:
假如您部署的证书为泛域名证书,您还需要设置
`QINIU_CDN_DOMAIN`
变量,指定实际需要部署的域名
(请注意泛域名前的点)
:
```
sh
```
sh
$
export
QINIU_CDN_DOMAIN
=
"cdn.example.com"
$
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
```
```
...
@@ -375,10 +375,10 @@ $ 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,
(Optional), If you are using wildcard certificate,
you may need export
`QINIU_CDN_DOMAIN`
to specify which domain
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
```
sh
$
export
QINIU_CDN_DOMAIN
=
"cdn.example.com"
$
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
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment