前端网站的根目录无法改 The root directory of the frontend website cannot be changed #2426

Closed
opened 2026-02-21 17:45:37 -05:00 by yindo · 0 comments
Owner

Originally created by @H9990HH969 on GitHub (Apr 22, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

因为我需要把布置在内网的服务,通过多重代理代理出来,所以我需要在原本localhost访问,改成localhost/aaa来访问,使localhost/aaa成为根目录。但在我改nginx后,访问localhost/aaa是404,请问该如何更改根目录?
Because I need to proxy the service deployed on the intranet through multiple proxies, I need to change the original access from localhost to localhost/aaa, making localhost/aaa the root directory. However, after I modified the Nginx configuration, accessing localhost/aaa results in a 404 error. How can I change the root directory?
1713784506722

Originally created by @H9990HH969 on GitHub (Apr 22, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes 因为我需要把布置在内网的服务,通过多重代理代理出来,所以我需要在原本localhost访问,改成localhost/aaa来访问,使localhost/aaa成为根目录。但在我改nginx后,访问localhost/aaa是404,请问该如何更改根目录? Because I need to proxy the service deployed on the intranet through multiple proxies, I need to change the original access from localhost to localhost/aaa, making localhost/aaa the root directory. However, after I modified the Nginx configuration, accessing localhost/aaa results in a 404 error. How can I change the root directory? ![1713784506722](https://github.com/langgenius/dify/assets/133352113/8f35074a-d964-4ae3-afbc-292c1e754767)
yindo added the 📚 documentation label 2026-02-21 17:45:37 -05:00
yindo closed this issue 2026-02-21 17:45:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2426