fix: apply proxy protocol and max connection settings

This commit is contained in:
sagit
2026-04-27 10:54:25 +08:00
committed by GitHub
parent 58d2e89147
commit 2ca3849917
11 changed files with 478 additions and 60 deletions
+2 -2
View File
@@ -4893,10 +4893,10 @@ export default function ForwardPage() {
>
<div className="space-y-4 pb-2">
<Input
description="此设置优先于用户的全局连接数限制。0 表示不限制。"
description="大于 0 时优先于用户全局限制;0 或空表示使用用户全局限制,用户也为 0 时不限制。"
label="最大连接数"
min="0"
placeholder="0 或空表示不限制"
placeholder="0 或空表示使用用户全局限制"
type="number"
value={
form.maxConn === 0 ? "" : String(form.maxConn || "")