dify
dify copied to clipboard
Add configuration of endpoint/domain for Tencent COS
Self Checks
- [x] I have read the Contributing Guide and Language Policy.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report, otherwise it will be closed.
- [x] Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I want to use Tencent COS for self-deployed Dify instance with my custom domain.
2. Additional context or comments
Tencent COS now supports custom domain and the default domain is marked as unsafe.
3. Can you help us with this feature?
- [ ] I am interested in contributing to this feature.
you can config TENCENT_COS_REGION
you can config TENCENT_COS_REGION
@fatelei The problem is not about region, but the domain. The default URL is in the format https://<bucket>.cos.<region>.myqcloud.com, a domain is the part of myqcloud.com.
make a pr, add env TENCENT_COS_CUSTOM_DOMAIN to support custom domain