dify icon indicating copy to clipboard operation
dify copied to clipboard

Add configuration of endpoint/domain for Tencent COS

Open AkiraVoid opened this issue 1 month ago • 3 comments

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.

Image

3. Can you help us with this feature?

  • [ ] I am interested in contributing to this feature.

AkiraVoid avatar Dec 02 '25 02:12 AkiraVoid

you can config TENCENT_COS_REGION

fatelei avatar Dec 24 '25 06:12 fatelei

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.

AkiraVoid avatar Dec 26 '25 04:12 AkiraVoid

make a pr, add env TENCENT_COS_CUSTOM_DOMAIN to support custom domain

fatelei avatar Dec 26 '25 05:12 fatelei