-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Bug report: API access Base URLs are incorrect, resulting in inaccessible endpoints #4534
Comments
To address the issue with the API access Base URLs using HTTP instead of HTTPS in your self-hosted Dify setup, you'll need to ensure your setup is configured for HTTPS. This involves obtaining an SSL certificate, configuring your reverse proxy (like nginx) to handle HTTPS, and adjusting the Base URLs in your configuration to use
After applying these changes and restarting your Docker containers, your API endpoints should be accessible over HTTPS, resolving the issue with incorrect Base URLs.
|
You may want to change API URL to https |
Yes. By changing API URL to https, I could acccess apis. |
Self Checks
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Install Dify v0.6.8 via self-hosting, elestio
Check the API access Base URLs in the configuration
Observe that all the Base URLs use HTTP protocol instead of HTTPS
✔️ Expected Behavior
The API access Base URLs should be correct and allow for successful access to the API endpoints.
❌ Actual Behavior
The Base URL strings for API access are incorrect, resulting in the inability to access the API endpoints. When attempting to use the provided Base URLs, the endpoints cannot be reached.
The text was updated successfully, but these errors were encountered: