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

解决私有OSS使用CDN域名无法上传问题 #44

Open
woodynew opened this issue Jan 4, 2023 · 0 comments
Open

解决私有OSS使用CDN域名无法上传问题 #44

woodynew opened this issue Jan 4, 2023 · 0 comments

Comments

@woodynew
Copy link

woodynew commented Jan 4, 2023

OSS设置私有权限,并且配置CDN域名后,上传OSS文件会提示无权限,getUrl获取正常。
解决办法:全局setCdnUrl()
我自己打了个包:https://github.com/woodynew/laravel-filesystem-oss.git
期待作者有更优的配置方法,需要iidestiny/flysystem-oss buckets 兼容CDN 域名独立配置

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

1 participant