配置 n8n 前端访问的基本 URL(Configure the Base URL for n8n's front end access)#
需要手动构建用户界面
此用例涉及配置 VUE_APP_URL_BASE_API 环境变量,这需要手动构建 n8n-editor-ui 包。你不能在默认的 n8n Docker 镜像中使用它,因为该变量的默认设置是 /,意味着它使用根域名。
你可以配置前端用来连接后端 REST API 的基础 URL。这在你希望将 n8n 的前端和后端分开托管时很有用。
🌐 You can configure the Base URL that the front end uses to connect to the back end's REST API. This is relevant when you want to host n8n's front end and back end separately.
1 | |