This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 8e64f50 chore: added description for Upstream module (#1579)
8e64f50 is described below
commit 8e64f50f03daea0d771eb753974288a9b863a83e
Author: guoqqqi <[email protected]>
AuthorDate: Fri Mar 12 22:54:40 2021 +0800
chore: added description for Upstream module (#1579)
---
web/src/pages/Upstream/locales/en-US.ts | 2 +-
web/src/pages/Upstream/locales/zh-CN.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/src/pages/Upstream/locales/en-US.ts
b/web/src/pages/Upstream/locales/en-US.ts
index f4063da..4e821de 100644
--- a/web/src/pages/Upstream/locales/en-US.ts
+++ b/web/src/pages/Upstream/locales/en-US.ts
@@ -38,7 +38,7 @@ export default {
'page.upstream.step.create.node': 'Create Node',
'page.upstream.step.pass-host': 'Pass Host',
'page.upstream.step.pass-host.tips':
- 'When selecting node, there can only be ONE node in node list.',
+ 'pass: Pass the client\'s host transparently to the upstream; node: Use
the host configured in the node of upstream; rewrite: Use the value of the
configuration upstream_host.',
'page.upstream.step.pass-host.pass': 'pass',
'page.upstream.step.pass-host.node': 'node',
'page.upstream.step.pass-host.rewrite': 'rewrite',
diff --git a/web/src/pages/Upstream/locales/zh-CN.ts
b/web/src/pages/Upstream/locales/zh-CN.ts
index 335d378..ce9c579 100644
--- a/web/src/pages/Upstream/locales/zh-CN.ts
+++ b/web/src/pages/Upstream/locales/zh-CN.ts
@@ -37,7 +37,7 @@ export default {
'page.upstream.step.type': '类型',
'page.upstream.step.create.node': '创建节点',
'page.upstream.step.pass-host': '传递域名',
- 'page.upstream.step.pass-host.tips': '当选择节点时,节点域名只能有一条数据。',
+ 'page.upstream.step.pass-host.tips': '透传(pass):将客户端的 host 透传给上游;节点(node):使用
upstream node 中配置的 host;重写(rewrite):使用配置项 upstream_host 的值',
'page.upstream.step.pass-host.pass': '透传',
'page.upstream.step.pass-host.node': '节点',
'page.upstream.step.pass-host.rewrite': '重写',