diff --git a/src/internal/panel/templates/overview.html b/src/internal/panel/templates/overview.html index 5f92479..ce74b5c 100644 --- a/src/internal/panel/templates/overview.html +++ b/src/internal/panel/templates/overview.html @@ -218,11 +218,11 @@ footer a{color:var(--muted);text-decoration:underline}

{{if eq .Lang "zh"}}域名{{else}}Domains{{end}}

-

{{if eq .Lang "zh"}}绑定后,域名的 80 / 443 端口转发到容器对应端口;HTTPS 证书请在容器内自行申请,面板只负责转发。{{else}}Once bound, the domain's 80 / 443 traffic is forwarded to the matching container ports; request the HTTPS certificate inside the container yourself — the panel only proxies.{{end}}

+

{{if eq .Lang "zh"}}域名 80/443 转发到容器;证书请在容器内自行申请。{{else}}Forwards the domain's 80/443 to your container; get the cert yourself.{{end}}

{{if .Domains}}
- + {{range .Domains}} @@ -239,9 +239,9 @@ footer a{color:var(--muted);text-decoration:underline}
{{if eq .Lang "zh"}}未绑定域名{{else}}No domains bound{{end}}
{{end}} {{if .V4Forward}} -
+
-{{else}}
{{if eq .Lang "zh"}}IPv4 入站已关闭,无法添加新域名。管理员可用 `vps config set net.v4_forward true` 重新开启。{{else}}IPv4 inbound is disabled — adding domains is not available. Re-enable with `vps config set net.v4_forward true`.{{end}}
{{end}} +{{else}}
{{if eq .Lang "zh"}}IPv4 入站已关闭,无法添加域名。{{else}}IPv4 inbound is off — domains can't be added.{{end}}
{{end}} @@ -253,7 +253,7 @@ footer a{color:var(--muted);text-decoration:underline}
{{if eq .Lang "zh"}}域名{{else}}Domain{{end}}PROXY v2 ?{{if eq $.Lang "zh"}}PROXY protocol v2:启用后,443 的 TLS 透传会先向后端发送一段 PROXY 报文以汇报访客真实 IP。需要后端支持,默认不启用;HTTP/80 仍使用 X-Forwarded-For 头。{{else}}PROXY protocol v2: when enabled, the 443 TLS passthrough sends a PROXY preamble to the backend reporting the visitor's real IP. The backend must support it; disabled by default. HTTP/80 keeps X-Forwarded-For headers.{{end}}
{{if eq .Lang "zh"}}域名{{else}}Domain{{end}}PROXY v2 ?{{if eq $.Lang "zh"}}443 透传时向后端发送 PROXY 报文以汇报访客真实 IP;需后端支持,默认关闭。{{else}}443 passthrough sends the real client IP via PROXY; needs backend support, off by default.{{end}}