Skip to content

配置 n8n 前端访问的基本 URL

需要手动构建 UI

此用例涉及配置环境变量,这需要手动构建软件包。您无法将其与默认的 n8n Docker 镜像一起使用,因为该变量的默认设置为,这意味着它使用根域。

您可以配置前端用于连接后端 REST API 的基本 URL。当您想分别托管 n8n 的前端和后端时,此功能非常有用。

1
export VUE_APP_URL_BASE_API=https://n8n.example.com/
Refer to Environment variables reference for more information on this variable.