Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isCName设置为true后上传错误 #36

Open
SmallRuralDog opened this issue Dec 21, 2017 · 3 comments
Open

isCName设置为true后上传错误 #36

SmallRuralDog opened this issue Dec 21, 2017 · 3 comments

Comments

@SmallRuralDog
Copy link

SmallRuralDog commented Dec 21, 2017

            'driver' => 'oss',
            'access_id' => 'xxx',
            'access_key' => 'xxx',
            'bucket' => xxx',
            'endpoint' => 'oss-cn-hangzhou.aliyuncs.com', // OSS 外网节点或自定义外部域名
            'endpoint_internal' => 'oss-cn-hangzhou-internal.aliyuncs.com', // v2.0.4 新增配置属性,如果为空,则默认使用 endpoint 配置(由于内网上传有点小问题未解决,请大家暂时不要使用内网节点上传,正在与阿里技术沟通中)
            'cdnDomain' => 'p.cdn.xxx.com', // 如果isCName为true, getUrl会判断cdnDomain是否设定来决定返回的url,如果cdnDomain未设置,则使用endpoint来生成url,否则使用cdn
            'ssl' => false, // true to use 'https://' and false to use 'http://'. default is false,
            'isCName' => true, // 是否使用自定义域名,true: 则Storage.url()会使用自定义的cdn或域名生成文件url, false: 则使用外部节点生成url
            'debug' => false
@Tai7sy
Copy link

Tai7sy commented Mar 8, 2018

也遇到这个问题了

@iiDestiny
Copy link

@jacobcyl 这个 包作者还维护吗?

@ziyeziye
Copy link

修复了getUrl文件不存在报错的问题,和使用自定义域名(cdn)上传报错的问题:
https://github.com/ziyeziye/Aliyun-oss-storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants