为 n8n 前端访问配置基础 URL# 需要手动 UI 构建 此用例涉及配置 VUE_APP_URL_BASE_API 环境变量,这需要手动构建 n8n-editor-ui 包。您不能在默认的 n8n Docker 镜像中使用它,因为此变量的默认设置是 /,意味着它使用根域。 您可以配置前端用于连接到后端 REST API 的基础 URL。当您想要分别托管 n8n 的前端和后端时,这很有用。 1export VUE_APP_URL_BASE_API=https://n8n.example.com/ 有关此变量的更多信息,请参考环境变量参考。 Was this page helpful? Thanks for your feedback! Thanks for your feedback! Help us improve this page by submitting an issue or a fix in our GitHub repo.