现在需要阿里云海外加速访问
1参考阿里云全球加速文档,开通服务并对自有域名进行加速
2将上述域名CNAME到api.next.bspapp.com
3自行初始化uniCloud传入endpoint参数,其值为开通全球加速的自有域名
getApp().myCloud = uniCloud.init({
provider: 'aliyun',
spaceId:spaceId,
clientSecret: clientSecret,
endpoint: 'http://cloud.xxxx.com'
})
endpoint这个自由域名https 怎么配置?证书放哪? 只支持 http?
0 个回复