Browse Source

Add Aliyun SLB Deploy

pull/1099/head^2
lilj 8 years ago
committed by GitHub
parent
commit
1de1dcad87
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      deploy/ali_slb.sh

3
deploy/ali_slb.sh

@ -1,7 +1,7 @@
#!/bin/bash
######## Public functions #####################
#domain keyfile certfile cafile fullchain
Ali_Region="cn-hangzhou"
#Ali_Region="cn-hangzhou"
#Ali_Api_Key=""
#Ali_Api_Secret=""
Ali_Api="https://slb.aliyuncs.com/"
@ -31,6 +31,7 @@ ali_slb_deploy() {
return 0
}
######## Private functions #####################
_ali_rest() {
signature=$(printf "%s" "GET&%2F&$(_ali_urlencode "$query")" | _hmac "sha1" "$(printf "%s" "$Ali_Api_Secret&" | _hex_dump | tr -d " ")" | _base64)

Loading…
Cancel
Save