Skip to content

Conversation

@tianweiliu
Copy link
Contributor

@tianweiliu tianweiliu commented Oct 22, 2025

  • Add global.baseUrlOverride configuration option to override dify.baseUrl
  • Maintains backward compatibility with host, port and enableTLS behavior
  • Update README with baseUrlOverride documentation
  • Bumped chart version to 0.7.1

fix #143

…dently from enableTLS

- Add global.externalProtocol configuration option to override protocol
- Allows setting HTTPS baseURL when TLS terminates externally
- Maintains backward compatibility with enableTLS behavior
- Update README with external TLS termination documentation
@LeoQuote
Copy link
Contributor

Thank you for your PR. Your requirement is to override the baseURL. It is highly recommended that you set a value named overrideBaseUrl. If this value exists, it can directly override dify.baseUrl unconditionally. This way, it can accommodate a broader range of custom needs, such as the inconsistency between the lb domain name and k8s ingress domain name. Furthermore, this approach is more explicit in terms of intention and usage.

… independently from enableTLS"

This reverts commit ecfc8a4.
- Add global.baseUrlOverride configuration option to directly override the base URL
- When set, baseUrlOverride takes precedence over host, port, and enableTLS
- More explicit and accommodates custom needs like LB domain vs k8s ingress domain
- Update documentation with examples and use cases
- Bump chart version to 0.7.1
@tianweiliu tianweiliu changed the title feat(dify): add externalProtocol flag to set baseURL protocol independently from enableTLS feat(dify): add baseUrlOverride to override dify.baseURL generated from host, port and enableTLS Oct 23, 2025
@tianweiliu tianweiliu changed the title feat(dify): add baseUrlOverride to override dify.baseURL generated from host, port and enableTLS feat(dify): add baseUrlOverride to allow dify.baseURL to be changed independently to host and enableTLS Oct 23, 2025
@tianweiliu tianweiliu changed the title feat(dify): add baseUrlOverride to allow dify.baseURL to be changed independently to host and enableTLS feat(dify): add baseUrlOverride to allow dify.baseUrl to be changed independently to host and enableTLS Oct 23, 2025
@tianweiliu
Copy link
Contributor Author

@LeoQuote Thank you for your comment. I have reverted my previous change and implemented what you described.

@LeoQuote LeoQuote merged commit 2ab20ba into douban:master Oct 23, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

De-couple enableTLS with dify.baseUrl

2 participants