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
c47f6ed3
Commit
c47f6ed3
authored
Sep 27, 2017
by
neil
Committed by
GitHub
Sep 27, 2017
Browse files
Merge pull request #1048 from Neilpang/dev
Dev
parents
7b4bbed5
3bdc317f
Changes
2
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
c47f6ed3
...
...
@@ -1987,7 +1987,7 @@ _startserver() {
_debug "_NC" "$_NC"
#todo listen address
$_NC
TCP-LISTEN:
$Le_HTTPPort
,crlf,reuseaddr,fork SYSTEM:
"sleep 0.5; echo HTTP/1.1 200 OK
'
; echo ; echo
$content
; echo;"
&
$_NC TCP-LISTEN:$Le_HTTPPort,crlf,reuseaddr,fork SYSTEM:"sleep 0.5; echo HTTP/1.1 200 OK; echo ; echo $content; echo;" &
serverproc="$!"
}
...
...
deploy/cpanel_uapi.sh
View file @
c47f6ed3
...
...
@@ -51,8 +51,8 @@ cpanel_uapi_deploy() {
else
_response
=
$(
uapi SSL install_ssl
domain
=
"
$_cdomain
"
cert
=
"
$_cert
"
key
=
"
$_key
"
)
fi
if
[
$?
-ne
0
]
;
then
error_response
=
"status: 0"
if
test
"
${
_response
#*
$error_response
}
"
!=
"
$_response
"
;
then
_err
"Error in deploying certificate:"
_err
"
$_response
"
return
1
...
...
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