After modifying the context root of Dify, the API interface call returns a 404 error. #27658
Replies: 2 comments 23 replies
-
|
The 404 error after changing Dify's context root is a routing issue that requires coordinated updates across your frontend, backend, and NGINX proxy. Dify does not have built-in support for subpath (context root) deployment, so manual configuration is needed:
If you still see 404 errors, double-check that all three layers (frontend, backend, proxy) are synchronized on the subpath and that your proxy is rewriting paths correctly. More details and examples are discussed in this thread. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
I made some configurations in Nginx.: location /aaabbb/v1 { nginx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
After modifying the context root of Dify, the API interface call returns a 404 error. https://xxx/dify/v1/chat-messages
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions