上传文件时到底是上传到S3_ENDPOINT还是S3_PUBLIC_DOMAIN?为什么两者都用到了? #9047
Unanswered
CoREse
asked this question in
Self Hosting | 私有化部署
Replies: 1 comment
-
|
👀 @CoREse Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📦 部署环境
Docker
📦 部署模式
服务端模式(lobe-chat-database 镜像)
📌 软件版本
v120.6
💻 系统环境
Windows
🌐 浏览器
Chrome
🐛 问题描述
我的理解里,上传文件时会上传到S3_ENDPOINT,读取才会访问S3_PUBLIC_DOMAIN,但是当我使用garage设置S3_ENDPOINT和S3_PUBLIC_DOMAIN为不同域名,并且S3_PUBLIC_DOMAIN不可以上传时,上传文件(尝试过txt或png),会显示:这个错误:
说明它实际上是在往我的S3_PUBLIC_DOMAIN上上传,这对吗?是不是个bug?
实用性说明:由于garage这个仓库不能匿名访问仓库,只能使用网站的方式来匿名访问仓库里的文件,所以如果lobe要同时往S3_ENDPOINT和S3_PUBLIC_DOMAIN上传文件的话那么就没法使用garage了。
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
Beta Was this translation helpful? Give feedback.
All reactions