Browse Source
Merge pull request #3691 from nookery/patch-1
the type of 'snis' is array
pull/3710/head
neil
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
deploy/kong.sh
|
|
@ -45,7 +45,7 @@ kong_deploy() { |
|
|
|
#Generate data for request (Multipart/form-data with mixed content) |
|
|
|
if [ -z "$ssl_uuid" ]; then |
|
|
|
#set sni to domain |
|
|
|
content="--$delim${nl}Content-Disposition: form-data; name=\"snis\"${nl}${nl}$_cdomain" |
|
|
|
content="--$delim${nl}Content-Disposition: form-data; name=\"snis[]\"${nl}${nl}$_cdomain" |
|
|
|
fi |
|
|
|
#add key |
|
|
|
content="$content${nl}--$delim${nl}Content-Disposition: form-data; name=\"key\"; filename=\"$(basename "$_ckey")\"${nl}Content-Type: application/octet-stream${nl}${nl}$(cat "$_ckey")" |
|
|
|